Update InfluxData documentation (1.3)

pull/656/merge
Thibaut Courouble 8 years ago
parent 09bc5e8beb
commit 6caaa884a2

@ -9,7 +9,7 @@ module Docs
doc = @doc.at_css('article')
css('.article-footer', 'hr').remove
css('.article-footer', 'hr', 'br').remove
css('a.offset-anchor').each do |node|
node.parent['id'] = node['id']

@ -2,7 +2,9 @@ module Docs
class Influxdata
class EntriesFilter < Docs::EntriesFilter
def get_name
at_css('.article-heading h1').content
name = at_css('.article-heading h1').content
name.remove! %r{\s\(.+\)}
name
end
def get_type

@ -2,7 +2,7 @@ module Docs
class Influxdata < UrlScraper
self.name = 'InfluxData'
self.type = 'influxdata'
self.release = '1.2'
self.release = '1.3'
self.base_url = 'https://docs.influxdata.com/'
self.links = {
home: 'https://www.influxdata.com/',
@ -17,6 +17,7 @@ module Docs
options[:title] = false
options[:only_patterns] = [/(telegraf|influxdb|chronograf|kapacitor)\/v#{release}/]
options[:skip_patterns] = [/enterprise/]
options[:skip] = [
"influxdb/v#{release}/sample_data/data_download/",

Loading…
Cancel
Save