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.
22 lines
538 B
22 lines
538 B
7 years ago
|
module Docs
|
||
|
class Bluebird < UrlScraper
|
||
|
self.type = 'bluebird'
|
||
|
self.base_url = 'http://bluebirdjs.com'
|
||
|
self.root_path = '/docs/api-reference.html'
|
||
|
self.release = '3.5.0'
|
||
|
self.links = {
|
||
|
home: 'http://bluebirdjs.com/',
|
||
|
code: 'https://github.com/petkaantonov/bluebird/'
|
||
|
}
|
||
|
|
||
|
html_filters.push 'bluebird/clean_html', 'bluebird/entries'
|
||
|
|
||
|
options[:container] = 'body .post'
|
||
|
|
||
|
options[:attribution] = <<-HTML
|
||
|
© Petka Antonov<br/>
|
||
|
Licensed under the MIT License.
|
||
|
HTML
|
||
|
end
|
||
|
end
|