|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Modernizr < UrlScraper
|
|
|
|
class Modernizr < UrlScraper
|
|
|
|
self.name = 'Modernizr'
|
|
|
|
self.name = 'Modernizr'
|
|
|
|
self.type = 'modernizr'
|
|
|
|
self.type = 'modernizr'
|
|
|
|
self.release = '3.3.1'
|
|
|
|
self.release = '3.5.0'
|
|
|
|
self.base_url = 'https://modernizr.com/docs/'
|
|
|
|
self.base_url = 'https://modernizr.com/docs/'
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'modernizr/entries', 'modernizr/clean_html', 'title'
|
|
|
|
html_filters.push 'modernizr/entries', 'modernizr/clean_html', 'title'
|
|
|
@ -12,7 +12,7 @@ module Docs
|
|
|
|
options[:skip_links] = true
|
|
|
|
options[:skip_links] = true
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2009–2016 The Modernizr team<br>
|
|
|
|
© 2009–2017 The Modernizr team<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|
|
|
|