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.
24 lines
581 B
24 lines
581 B
module Docs
|
|
class Bower < UrlScraper
|
|
self.name = 'Bower'
|
|
self.type = 'bower'
|
|
self.version = '1.6.5'
|
|
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'
|
|
|
|
options[:trailing_slash] = false
|
|
options[:skip] = %w(tools about)
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2015 Bower contributors<br>
|
|
Licensed under the Creative Commons Attribution License.
|
|
HTML
|
|
end
|
|
end
|