Unified · Split
| @@ -20,6 +20,7 @@ module Docs · 19 unmodified lines | ||
| 20 | 20 | when /config\./ |
| 21 | 21 | h2 = nil |
| 22 | 22 | css('.page-contents .span8 > *').each_with_object [] do |node, entries| |
| 23 | + next if node.name == 'pre' | |
| 23 | 24 | if node.name == 'h2' |
| 24 | 25 | h2 = node.content |
| 25 | 26 | elsif h2 == 'Available Settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.') |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Vagrant < UrlScraper |
| 3 | 3 | self.name = 'Vagrant' |
| 4 | 4 | self.type = 'vagrant' |
| 5 | − self.version = '1.7.4' | |
| 5 | + self.version = '1.8.1' | |
| 6 | 6 | self.base_url = 'https://docs.vagrantup.com/v2/' |
| 7 | 7 | self.links = { |
| 8 | 8 | home: 'https://www.vagrantup.com/', |