Bladeren bron

Update Vagrant documentation (2.0.2)

Thibaut Courouble 7 jaren geleden
bovenliggende
commit
4b7d21b612

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -657,7 +657,7 @@ credits = [
     'https://raw.githubusercontent.com/jashkenas/underscore/master/LICENSE'
   ], [
     'Vagrant',
-    '2010-2017 Mitchell Hashimoto',
+    '2010-2018 Mitchell Hashimoto',
     'MPL',
     'https://raw.githubusercontent.com/mitchellh/vagrant/master/website/LICENSE.md'
   ], [

+ 1 - 0
lib/docs/filters/vagrant/entries.rb

@@ -29,6 +29,7 @@ module Docs
             if node.name == 'h2'
               h2 = node['id']
             elsif h2 == 'available-settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.')
+              name.sub! %r{\s+=.*}, '='
               id = code.parent['id'] = name.parameterize
               entries << [name, id, 'Config']
             end

+ 2 - 2
lib/docs/scrapers/vagrant.rb

@@ -2,7 +2,7 @@ module Docs
   class Vagrant < UrlScraper
     self.name = 'Vagrant'
     self.type = 'vagrant'
-    self.release = '2.0.1'
+    self.release = '2.0.2'
     self.base_url = 'https://www.vagrantup.com/docs/'
     self.root_path = 'index.html'
     self.links = {
@@ -15,7 +15,7 @@ module Docs
     options[:skip_patterns] = [/vagrant-cloud/]
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2017 Mitchell Hashimoto<br>
+      &copy; 2010&ndash;2018 Mitchell Hashimoto<br>
       Licensed under the MPL 2.0 License.
     HTML
   end