vagrant.rb 500 B

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