Unified · Split
| @@ -9,7 +9,7 @@ module Docs · 8 unmodified lines | ||
| 9 | 9 | |
| 10 | 10 | doc = @doc.at_css('article') |
| 11 | 11 | |
| 12 | − css('.article-footer', 'hr').remove | |
| 12 | + css('.article-footer', 'hr', 'br').remove | |
| 13 | 13 | |
| 14 | 14 | css('a.offset-anchor').each do |node| |
| 15 | 15 | node.parent['id'] = node['id'] |
| @@ -2,7 +2,9 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Influxdata |
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | 4 | def get_name |
| 5 | − at_css('.article-heading h1').content | |
| 5 | + name = at_css('.article-heading h1').content | |
| 6 | + name.remove! %r{\s\(.+\)} | |
| 7 | + name | |
| 6 | 8 | end |
| 7 | 9 | |
| 8 | 10 | def get_type |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Influxdata < UrlScraper |
| 3 | 3 | self.name = 'InfluxData' |
| 4 | 4 | self.type = 'influxdata' |
| 5 | − self.release = '1.2' | |
| 5 | + self.release = '1.3' | |
| 6 | 6 | self.base_url = 'https://docs.influxdata.com/' |
| 7 | 7 | self.links = { |
| 8 | 8 | home: 'https://www.influxdata.com/', |
| @@ -17,6 +17,7 @@ module Docs · 8 unmodified lines | ||
| 17 | 17 | options[:title] = false |
| 18 | 18 | |
| 19 | 19 | options[:only_patterns] = [/(telegraf|influxdb|chronograf|kapacitor)\/v#{release}/] |
| 20 | + options[:skip_patterns] = [/enterprise/] | |
| 20 | 21 | |
| 21 | 22 | options[:skip] = [ |
| 22 | 23 | "influxdb/v#{release}/sample_data/data_download/", |