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.
21 lines
509 B
21 lines
509 B
module Docs
|
|
class Lodash < UrlScraper
|
|
self.name = 'Lo-Dash'
|
|
self.slug = 'lodash'
|
|
self.type = 'lodash'
|
|
self.version = '2.4.1'
|
|
self.base_url = 'http://lodash.com/docs'
|
|
|
|
html_filters.push 'lodash/clean_html', 'lodash/entries', 'title'
|
|
|
|
options[:title] = 'Lo-Dash'
|
|
options[:container] = 'h1+div+div'
|
|
options[:skip_links] = true
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2012–2013 The Dojo Foundation<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|