mirror of https://github.com/freeCodeCamp/devdocs
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.
20 lines
416 B
20 lines
416 B
module Docs
|
|
class Opentsdb < UrlScraper
|
|
self.name = 'OpenTSDB'
|
|
self.type = 'opentsdb'
|
|
self.version = '2.1'
|
|
self.base_url = 'http://opentsdb.net/docs/build/html/'
|
|
self.root_path = 'index.html'
|
|
|
|
html_filters.push 'opentsdb/entries', 'opentsdb/clean_html'
|
|
|
|
|
|
options[:skip] = %w(genindex.html search.html)
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2015 OpenTSDB
|
|
HTML
|
|
end
|
|
end
|