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.
devdocs/lib/docs/scrapers/bluebird.rb

22 lines
538 B

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
&copy; Petka Antonov<br/>
Licensed under the MIT License.
HTML
end
end