Skip to content

Commit 4b7d21b

Browse files
committed
Update Vagrant documentation (2.0.2)
1 parent 35f107b commit 4b7d21b

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ credits = [
657657
'https://raw.githubusercontent.com/jashkenas/underscore/master/LICENSE'
658658
], [
659659
'Vagrant',
660-
'2010-2017 Mitchell Hashimoto',
660+
'2010-2018 Mitchell Hashimoto',
661661
'MPL',
662662
'https://raw.githubusercontent.com/mitchellh/vagrant/master/website/LICENSE.md'
663663
], [

lib/docs/filters/vagrant/entries.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def additional_entries
2929
if node.name == 'h2'
3030
h2 = node['id']
3131
elsif h2 == 'available-settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.')
32+
name.sub! %r{\s+=.*}, '='
3233
id = code.parent['id'] = name.parameterize
3334
entries << [name, id, 'Config']
3435
end

lib/docs/scrapers/vagrant.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Vagrant < UrlScraper
33
self.name = 'Vagrant'
44
self.type = 'vagrant'
5-
self.release = '2.0.1'
5+
self.release = '2.0.2'
66
self.base_url = 'https://www.vagrantup.com/docs/'
77
self.root_path = 'index.html'
88
self.links = {
@@ -15,7 +15,7 @@ class Vagrant < UrlScraper
1515
options[:skip_patterns] = [/vagrant-cloud/]
1616

1717
options[:attribution] = <<-HTML
18-
&copy; 2010&ndash;2017 Mitchell Hashimoto<br>
18+
&copy; 2010&ndash;2018 Mitchell Hashimoto<br>
1919
Licensed under the MPL 2.0 License.
2020
HTML
2121
end

0 commit comments

Comments
 (0)