1
0

handlebars.rb 629 B

1234567891011121314151617181920212223
  1. module Docs
  2. class Handlebars < UrlScraper
  3. self.name = 'Handlebars.js'
  4. self.slug = 'handlebars'
  5. self.type = 'simple'
  6. self.release = '4.0.12'
  7. self.base_url = 'https://handlebarsjs.com/'
  8. self.links = {
  9. home: 'https://handlebarsjs.com/',
  10. code: 'https://github.com/wycats/handlebars.js/'
  11. }
  12. html_filters.push 'handlebars/entries', 'handlebars/clean_html', 'title'
  13. options[:container] = '#contents'
  14. options[:root_title] = 'Handlebars.js'
  15. options[:attribution] = <<-HTML
  16. &copy; 2011&ndash;2017 by Yehuda Katz<br>
  17. Licensed under the MIT License.
  18. HTML
  19. end
  20. end