| 1234567891011121314151617181920212223242526272829303132333435 |
- module Docs
- class Marionette < UrlScraper
- self.name = 'Marionette.js'
- self.slug = 'marionette'
- self.type = 'marionette'
- self.root_path = 'index'
- self.links = {
- home: 'https://marionettejs.com/',
- code: 'https://github.com/marionettejs/backbone.marionette'
- }
- html_filters.push 'marionette/clean_html'
- options[:container] = '.docs__content'
- options[:attribution] = <<-HTML
- © 2017 Muted Solutions, LLC<br>
- Licensed under the MIT License.
- HTML
- version '3' do
- self.release = '3.5.1'
- self.base_url = "https://marionettejs.com/docs/v#{release}/"
- html_filters.push 'marionette/entries_v3'
- end
- version '2' do
- self.release = '2.4.7'
- self.base_url = "https://marionettejs.com/docs/v#{release}/"
- html_filters.push 'marionette/entries_v2'
- end
- end
- end
|