mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
25 lines
676 B
Ruby
25 lines
676 B
Ruby
module Docs
|
|
class Bluebird < UrlScraper
|
|
self.type = 'simple'
|
|
self.release = '3.7.2'
|
|
self.base_url = 'http://bluebirdjs.com/docs/'
|
|
self.root_path = 'api-reference.html'
|
|
self.links = {
|
|
home: 'http://bluebirdjs.com/',
|
|
code: 'https://github.com/petkaantonov/bluebird/'
|
|
}
|
|
|
|
html_filters.push 'bluebird/clean_html', 'bluebird/entries'
|
|
|
|
options[:skip] = %w(support.html download-api-reference.html contribute.html)
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2013–2018 Petka Antonov<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
|
|
def get_latest_version(opts)
|
|
get_npm_version('bluebird', opts)
|
|
end
|
|
end
|
|
end
|