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
717 B
25 lines
717 B
module Docs
|
|
class Underscore < UrlScraper
|
|
self.name = 'Underscore.js'
|
|
self.slug = 'underscore'
|
|
self.type = 'underscore'
|
|
self.release = '1.9.0'
|
|
self.base_url = 'http://underscorejs.org'
|
|
self.links = {
|
|
home: 'http://underscorejs.org',
|
|
code: 'https://github.com/jashkenas/underscore'
|
|
}
|
|
|
|
html_filters.push 'underscore/clean_html', 'underscore/entries', 'title'
|
|
|
|
options[:title] = 'Underscore.js'
|
|
options[:container] = '#documentation'
|
|
options[:skip_links] = true
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2009–2017 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|