ansible.rb 698 B

123456789101112131415161718192021222324252627
  1. module Docs
  2. class Ansible < UrlScraper
  3. self.name = 'Ansible'
  4. self.type = 'sphinx'
  5. self.release = '2.0.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', 'codeigniter/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;2016 Michael DeHaan<br>
  21. Licensed under the GNU General Public License version 3.
  22. HTML
  23. end
  24. end