diff --git a/lib/docs/filters/vagrant/entries.rb b/lib/docs/filters/vagrant/entries.rb index 861067f7..eada92a2 100644 --- a/lib/docs/filters/vagrant/entries.rb +++ b/lib/docs/filters/vagrant/entries.rb @@ -20,6 +20,7 @@ module Docs when /config\./ h2 = nil css('.page-contents .span8 > *').each_with_object [] do |node, entries| + next if node.name == 'pre' if node.name == 'h2' h2 = node.content elsif h2 == 'Available Settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.') diff --git a/lib/docs/scrapers/vagrant.rb b/lib/docs/scrapers/vagrant.rb index bb9f53f8..7c5bdf71 100644 --- a/lib/docs/scrapers/vagrant.rb +++ b/lib/docs/scrapers/vagrant.rb @@ -2,7 +2,7 @@ module Docs class Vagrant < UrlScraper self.name = 'Vagrant' self.type = 'vagrant' - self.version = '1.7.4' + self.version = '1.8.1' self.base_url = 'https://docs.vagrantup.com/v2/' self.links = { home: 'https://www.vagrantup.com/',