|
|
|
@ -2,9 +2,13 @@ module Docs
|
|
|
|
|
class Bower < UrlScraper
|
|
|
|
|
self.name = 'Bower'
|
|
|
|
|
self.type = 'bower'
|
|
|
|
|
self.version = '1.3.12'
|
|
|
|
|
self.version = '1.4.1'
|
|
|
|
|
self.base_url = 'http://bower.io/docs/'
|
|
|
|
|
self.root_path = 'api'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'http://bower.io/',
|
|
|
|
|
code: 'https://github.com/bower/bower'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'bower/clean_html', 'bower/entries'
|
|
|
|
|
|
|
|
|
@ -12,7 +16,7 @@ module Docs
|
|
|
|
|
options[:skip] = %w(tools about)
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2014 Bower contributors<br>
|
|
|
|
|
© 2015 Bower contributors<br>
|
|
|
|
|
Licensed under the Creative Commons Attribution License.
|
|
|
|
|
HTML
|
|
|
|
|
end
|
|
|
|
|