History

Update Vagrant documentation (1.8.1)

Thibaut committed 10 years ago

Commit 64d729e1 parent bf724c22 files · +2 −1Browse files

Unified · Split

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