|
|
@ -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 = '1.9.5'
|
|
|
|
self.release = '1.9.7'
|
|
|
|
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 = {
|
|
|
@ -12,6 +12,8 @@ module Docs
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'vagrant/entries', 'vagrant/clean_html'
|
|
|
|
html_filters.push 'vagrant/entries', 'vagrant/clean_html'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] = [/vagrant-cloud/]
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2010–2017 Mitchell Hashimoto<br>
|
|
|
|
© 2010–2017 Mitchell Hashimoto<br>
|
|
|
|
Licensed under the MPL 2.0 License.
|
|
|
|
Licensed under the MPL 2.0 License.
|
|
|
|