jsdoc.rb 791 B

123456789101112131415161718192021222324252627282930
  1. module Docs
  2. class Jsdoc < UrlScraper
  3. self.name = 'JSDoc'
  4. self.type = 'jsdoc'
  5. self.release = '3.5.5'
  6. self.base_url = 'http://usejsdoc.org/'
  7. self.links = {
  8. home: 'http://usejsdoc.org/',
  9. code: 'https://github.com/jsdoc3/jsdoc'
  10. }
  11. html_filters.push 'jsdoc/clean_html', 'jsdoc/entries'
  12. options[:trailing_slash] = false
  13. options[:container] = 'article'
  14. options[:skip] = [
  15. 'about-license-jsdoc3.html'
  16. ]
  17. options[:attribution] = <<-HTML
  18. &copy; 2011&ndash;2017
  19. <a href="https://github.com/jsdoc3/jsdoc3.github.com/contributors">
  20. JSDoc 3 contributors
  21. </a><br>
  22. Licensed under
  23. <a href="http://creativecommons.org/licenses/by-sa/3.0/">
  24. CC BY-SA 3.0
  25. </a>
  26. HTML
  27. end
  28. end