ansible.rb 729 B

12345678910111213141516171819202122232425262728
  1. module Docs
  2. class Ansible < UrlScraper
  3. self.name = 'Ansible'
  4. self.type = 'sphinx'
  5. self.release = '2.3.1'
  6. self.base_url = 'https://docs.ansible.com/ansible/'
  7. self.links = {
  8. home: 'https://www.ansible.com/',
  9. code: 'https://github.com/ansible/ansible'
  10. }
  11. html_filters.push 'ansible/entries', 'ansible/clean_html', 'sphinx/clean_html'
  12. options[:skip] = %w(
  13. glossary.html
  14. faq.html
  15. community.html
  16. tower.html
  17. quickstart.html
  18. list_of_all_modules.html)
  19. options[:attribution] = <<-HTML
  20. &copy; 2012&ndash;2017 Michael DeHaan<br>
  21. &copy; 2017 Red Hat, Inc.<br>
  22. Licensed under the GNU General Public License version 3.
  23. HTML
  24. end
  25. end