devdocs/lib/docs/scrapers/jquery/jquery.rb
Thibaut Courouble 9098ff5275 Update jQuery docs
Closes #204.
2016-02-07 18:02:47 -05:00

18 lines
444 B
Ruby

module Docs
class Jquery < UrlScraper
self.abstract = true
self.type = 'jquery'
html_filters.push 'jquery/clean_html', 'title'
options[:title] = false
options[:container] = '#content'
options[:trailing_slash] = false
options[:skip_patterns] = [/category/]
options[:attribution] = <<-HTML
&copy; The jQuery Foundation and other contributors<br>
Licensed under the MIT License.
HTML
end
end