jsdoc.rb 725 B

12345678910111213141516171819202122232425
  1. module Docs
  2. class Jsdoc < UrlScraper
  3. self.name = 'JSDoc'
  4. self.type = 'simple'
  5. self.release = '3.5.5'
  6. self.base_url = 'http://usejsdoc.org/'
  7. self.root_path = 'index.html'
  8. self.links = {
  9. home: 'http://usejsdoc.org/',
  10. code: 'https://github.com/jsdoc3/jsdoc'
  11. }
  12. html_filters.push 'jsdoc/clean_html', 'jsdoc/entries'
  13. options[:trailing_slash] = false
  14. options[:container] = 'article'
  15. options[:skip] = [
  16. 'about-license-jsdoc3.html'
  17. ]
  18. options[:attribution] = <<-HTML
  19. &copy; 2011&ndash;2017 the contributors to the JSDoc 3 documentation project<br>
  20. Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
  21. HTML
  22. end
  23. end