You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/marionette.rb

24 lines
635 B

module Docs
class Marionette < UrlScraper
self.name = 'Marionette.js'
self.slug = 'marionette'
self.type = 'marionette'
self.version = '2.4.3'
self.base_url = "http://marionettejs.com/docs/v#{version}/"
self.root_path = 'index'
self.links = {
home: 'http://marionettejs.com/',
code: 'https://github.com/marionettejs/backbone.marionette'
}
html_filters.push 'marionette/clean_html', 'marionette/entries'
options[:container] = '.docs__content'
options[:attribution] = <<-HTML
&copy; 2015 Muted Solutions, LLC<br>
Licensed under the MIT License.
HTML
end
end