Update Vagrant documentation (1.8.1)

pull/329/head
Thibaut 9 years ago
parent bf724c2aa7
commit 64d729ec28

@ -20,6 +20,7 @@ module Docs
when /config\./ when /config\./
h2 = nil h2 = nil
css('.page-contents .span8 > *').each_with_object [] do |node, entries| css('.page-contents .span8 > *').each_with_object [] do |node, entries|
next if node.name == 'pre'
if node.name == 'h2' if node.name == 'h2'
h2 = node.content h2 = node.content
elsif h2 == 'Available Settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.') elsif h2 == 'Available Settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.')

@ -2,7 +2,7 @@ module Docs
class Vagrant < UrlScraper class Vagrant < UrlScraper
self.name = 'Vagrant' self.name = 'Vagrant'
self.type = 'vagrant' self.type = 'vagrant'
self.version = '1.7.4' self.version = '1.8.1'
self.base_url = 'https://docs.vagrantup.com/v2/' self.base_url = 'https://docs.vagrantup.com/v2/'
self.links = { self.links = {
home: 'https://www.vagrantup.com/', home: 'https://www.vagrantup.com/',

Loading…
Cancel
Save