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.
20 lines
499 B
20 lines
499 B
module Docs
|
|
class Modernizr < UrlScraper
|
|
self.name = 'Modernizr'
|
|
self.type = 'modernizr'
|
|
self.release = '3.5.0'
|
|
self.base_url = 'https://modernizr.com/docs/'
|
|
|
|
html_filters.push 'modernizr/entries', 'modernizr/clean_html', 'title'
|
|
|
|
options[:title] = 'Modernizr'
|
|
options[:container] = '#main'
|
|
options[:skip_links] = true
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2009–2017 The Modernizr team<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|