jasmine.rb 547 B

123456789101112131415161718192021
  1. module Docs
  2. class Jasmine < UrlScraper
  3. self.type = 'jasmine'
  4. self.release = '2.8.0'
  5. self.base_url = 'https://jasmine.github.io/api/2.8/'
  6. self.root_path = 'index.html'
  7. self.links = {
  8. home: 'https://jasmine.github.io/',
  9. code: 'https://github.com/jasmine/jasmine'
  10. }
  11. html_filters.push 'jasmine/clean_html', 'jasmine/entries'
  12. options[:container] = '.main-content'
  13. options[:attribution] = <<-HTML
  14. &copy; 2008&ndash;2017 Pivotal Labs<br>
  15. Licensed under the MIT License.
  16. HTML
  17. end
  18. end