pygame.rb 493 B

1234567891011121314151617181920
  1. module Docs
  2. class Pygame < UrlScraper
  3. self.type = 'simple'
  4. self.release = '1.9.4'
  5. self.root_path = 'py-modindex.html'
  6. self.links = {
  7. home: 'https://www.pygame.org/',
  8. code: 'https://github.com/pygame/pygame'
  9. }
  10. html_filters.push 'pygame/clean_html', 'pygame/entries'
  11. options[:only_patterns] = [/ref\//]
  12. options[:attribution] = <<-HTML
  13. &copy; Pygame Developpers.<br>
  14. Licensed under the GNU LGPL License version 2.1.
  15. HTML
  16. end
  17. end