mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
23 lines
556 B
Ruby
23 lines
556 B
Ruby
module Docs
|
|
class Bower < UrlScraper
|
|
self.name = 'Bower'
|
|
self.type = 'bower'
|
|
self.release = '1.7.7'
|
|
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
|
|
© 2016 Bower contributors<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|