History

Update Vagrant documentation (2.0.2)

Thibaut Courouble committed 8 years ago

Commit 4b7d21b1 parent 35f107b3 files · +4 −3Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/vagrant/entries.rb +1 −0
  3. lib/docs/scrapers/vagrant.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -657,7 +657,7 @@ credits = [ · 656 unmodified lines
657 'https://raw.githubusercontent.com/jashkenas/underscore/master/LICENSE'657 'https://raw.githubusercontent.com/jashkenas/underscore/master/LICENSE'
658 ], [658 ], [
659 'Vagrant',659 'Vagrant',
660 '2010-2017 Mitchell Hashimoto',660 '2010-2018 Mitchell Hashimoto',
661 'MPL',661 'MPL',
662 'https://raw.githubusercontent.com/mitchellh/vagrant/master/website/LICENSE.md'662 'https://raw.githubusercontent.com/mitchellh/vagrant/master/website/LICENSE.md'
663 ], [663 ], [
lib/docs/filters/vagrant/entries.rb+1−0
@@ -29,6 +29,7 @@ module Docs · 28 unmodified lines
29 if node.name == 'h2'29 if node.name == 'h2'
30 h2 = node['id']30 h2 = node['id']
31 elsif h2 == 'available-settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.')31 elsif h2 == 'available-settings' && (code = node.at_css('code')) && (name = code.content) && name.start_with?('config.')
32 name.sub! %r{\s+=.*}, '='
32 id = code.parent['id'] = name.parameterize33 id = code.parent['id'] = name.parameterize
33 entries << [name, id, 'Config']34 entries << [name, id, 'Config']
34 end35 end
lib/docs/scrapers/vagrant.rb+2−2
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Vagrant < UrlScraper2 class Vagrant < UrlScraper
3 self.name = 'Vagrant'3 self.name = 'Vagrant'
4 self.type = 'vagrant'4 self.type = 'vagrant'
5 self.release = '2.0.1'5 self.release = '2.0.2'
6 self.base_url = 'https://www.vagrantup.com/docs/'6 self.base_url = 'https://www.vagrantup.com/docs/'
7 self.root_path = 'index.html'7 self.root_path = 'index.html'
8 self.links = {8 self.links = {
@@ -15,7 +15,7 @@ module Docs · 6 unmodified lines
15 options[:skip_patterns] = [/vagrant-cloud/]15 options[:skip_patterns] = [/vagrant-cloud/]
16 16
17 options[:attribution] = <<-HTML17 options[:attribution] = <<-HTML
18 &copy; 2010&ndash;2017 Mitchell Hashimoto<br>18 &copy; 2010&ndash;2018 Mitchell Hashimoto<br>
19 Licensed under the MPL 2.0 License.19 Licensed under the MPL 2.0 License.
20 HTML20 HTML
21 end21 end