vagrant.rb 535 B

1234567891011121314151617181920
  1. module Docs
  2. class Vagrant < UrlScraper
  3. self.name = 'Vagrant'
  4. self.type = 'vagrant'
  5. self.release = '1.8.5'
  6. self.base_url = 'https://www.vagrantup.com/docs/'
  7. self.root_path = 'index.html'
  8. self.links = {
  9. home: 'https://www.vagrantup.com/',
  10. code: 'https://github.com/mitchellh/vagrant'
  11. }
  12. html_filters.push 'vagrant/entries', 'vagrant/clean_html'
  13. options[:attribution] = <<-HTML
  14. &copy; 2010&ndash;2016 Mitchell Hashimoto<br>
  15. Licensed under the MIT License.
  16. HTML
  17. end
  18. end