You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/opentsdb.rb

23 lines
620 B

module Docs
class Opentsdb < UrlScraper
self.name = 'OpenTSDB'
self.type = 'sphinx_simple'
self.release = '2.2.1'
self.base_url = 'http://opentsdb.net/docs/build/html/'
self.root_path = 'index.html'
self.links = {
home: 'http://opentsdb.net/',
code: 'https://github.com/OpenTSDB/opentsdb'
}
html_filters.push 'opentsdb/entries', 'opentsdb/clean_html'
options[:skip] = %w(genindex.html search.html)
options[:attribution] = <<-HTML
&copy; 2010&ndash;2016 The OpenTSDB Authors<br>
Licensed under the GNU LGPLv2.1+ and GPLv3+ licenses.
HTML
end
end