Update Vagrant documentation (2.0.2)

pull/775/head
Thibaut Courouble 7 years ago
parent 35f107b96e
commit 4b7d21b612

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

@ -29,6 +29,7 @@ module Docs
if node.name == 'h2' if node.name == 'h2'
h2 = node['id'] h2 = node['id']
elsif h2 == 'available-settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.') 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 id = code.parent['id'] = name.parameterize
entries << [name, id, 'Config'] entries << [name, id, 'Config']
end end

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

Loading…
Cancel
Save