mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
588 B
23 lines
588 B
module Docs
|
|
class Vagrant < UrlScraper
|
|
self.name = 'Vagrant'
|
|
self.type = 'vagrant'
|
|
self.release = '2.0.1'
|
|
self.base_url = 'https://www.vagrantup.com/docs/'
|
|
self.root_path = 'index.html'
|
|
self.links = {
|
|
home: 'https://www.vagrantup.com/',
|
|
code: 'https://github.com/mitchellh/vagrant'
|
|
}
|
|
|
|
html_filters.push 'vagrant/entries', 'vagrant/clean_html'
|
|
|
|
options[:skip_patterns] = [/vagrant-cloud/]
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2010–2017 Mitchell Hashimoto<br>
|
|
Licensed under the MPL 2.0 License.
|
|
HTML
|
|
end
|
|
end
|