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
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+1−0
@@ -29,6 +29,7 @@ module Docs · 28 unmodified lines
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+2−2
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
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 @@ module Docs · 6 unmodified lines
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