mirror of https://github.com/freeCodeCamp/devdocs
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.
24 lines
635 B
24 lines
635 B
module Docs
|
|
class Marionette < UrlScraper
|
|
self.name = 'Marionette.js'
|
|
self.slug = 'marionette'
|
|
self.type = 'marionette'
|
|
self.release = '2.4.3'
|
|
self.base_url = "http://marionettejs.com/docs/v#{release}/"
|
|
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
|
|
© 2015 Muted Solutions, LLC<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|