1
0
Эх сурвалжийг харах

Update Vagrant documentation (1.8.1)

Thibaut 10 жил өмнө
parent
commit
64d729ec28

+ 1 - 0
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.')

+ 1 - 1
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/',