bluebird.rb 538 B

123456789101112131415161718192021
  1. module Docs
  2. class Bluebird < UrlScraper
  3. self.type = 'bluebird'
  4. self.base_url = 'http://bluebirdjs.com'
  5. self.root_path = '/docs/api-reference.html'
  6. self.release = '3.5.0'
  7. self.links = {
  8. home: 'http://bluebirdjs.com/',
  9. code: 'https://github.com/petkaantonov/bluebird/'
  10. }
  11. html_filters.push 'bluebird/clean_html', 'bluebird/entries'
  12. options[:container] = 'body .post'
  13. options[:attribution] = <<-HTML
  14. &copy; Petka Antonov<br/>
  15. Licensed under the MIT License.
  16. HTML
  17. end
  18. end