|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Influxdata < UrlScraper
|
|
|
|
class Influxdata < UrlScraper
|
|
|
|
self.name = 'InfluxData'
|
|
|
|
self.name = 'InfluxData'
|
|
|
|
self.type = 'influxdata'
|
|
|
|
self.type = 'influxdata'
|
|
|
|
self.release = '0.10'
|
|
|
|
self.release = '0.13'
|
|
|
|
self.base_url = 'https://docs.influxdata.com/'
|
|
|
|
self.base_url = 'https://docs.influxdata.com/'
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'influxdata/entries', 'influxdata/clean_html', 'title'
|
|
|
|
html_filters.push 'influxdata/entries', 'influxdata/clean_html', 'title'
|
|
|
@ -20,10 +20,6 @@ module Docs
|
|
|
|
"influxdb/v#{release}/about/"
|
|
|
|
"influxdb/v#{release}/about/"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
options[:replace_paths] = {
|
|
|
|
|
|
|
|
"influxdb/v#{release}/guides/clustering/" => 'influxdb/v0.10/clustering/'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2015 InfluxData, Inc.<br>
|
|
|
|
© 2015 InfluxData, Inc.<br>
|
|
|
|
Licensed under the MIT license.
|
|
|
|
Licensed under the MIT license.
|
|
|
|