opentsdb.rb 620 B

12345678910111213141516171819202122
  1. module Docs
  2. class Opentsdb < UrlScraper
  3. self.name = 'OpenTSDB'
  4. self.type = 'sphinx_simple'
  5. self.release = '2.3.0'
  6. self.base_url = 'http://opentsdb.net/docs/build/html/'
  7. self.root_path = 'index.html'
  8. self.links = {
  9. home: 'http://opentsdb.net/',
  10. code: 'https://github.com/OpenTSDB/opentsdb'
  11. }
  12. html_filters.push 'opentsdb/entries', 'opentsdb/clean_html'
  13. options[:skip] = %w(genindex.html search.html)
  14. options[:attribution] = <<-HTML
  15. &copy; 2010&ndash;2016 The OpenTSDB Authors<br>
  16. Licensed under the GNU LGPLv2.1+ and GPLv3+ licenses.
  17. HTML
  18. end
  19. end