From 4b7d21b612ec38e2a40ce7d9bec696e698e81a72 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 25 Feb 2018 13:54:02 -0500 Subject: [PATCH] Update Vagrant documentation (2.0.2) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/filters/vagrant/entries.rb | 1 + lib/docs/scrapers/vagrant.rb | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 38aa0fd3..351a5aa6 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/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' ], [ diff --git a/lib/docs/filters/vagrant/entries.rb b/lib/docs/filters/vagrant/entries.rb index 77e078b0..64215c8e 100644 --- a/lib/docs/filters/vagrant/entries.rb +++ b/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 diff --git a/lib/docs/scrapers/vagrant.rb b/lib/docs/scrapers/vagrant.rb index 4b84eae2..febb7229 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.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 - © 2010–2017 Mitchell Hashimoto
+ © 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License. HTML end