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.
25 lines
654 B
25 lines
654 B
module Docs
|
|
class Backbone < UrlScraper
|
|
self.name = 'Backbone.js'
|
|
self.slug = 'backbone'
|
|
self.type = 'underscore'
|
|
self.release = '1.3.3'
|
|
self.base_url = 'http://backbonejs.org'
|
|
self.links = {
|
|
home: 'http://backbonejs.org/',
|
|
code: 'https://github.com/jashkenas/backbone'
|
|
}
|
|
|
|
html_filters.push 'backbone/clean_html', 'backbone/entries', 'title'
|
|
|
|
options[:title] = 'Backbone.js'
|
|
options[:container] = '.container'
|
|
options[:skip_links] = true
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2010–2016 Jeremy Ashkenas, DocumentCloud<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|