phaser.rb 774 B

123456789101112131415161718192021222324252627282930
  1. module Docs
  2. class Phaser < UrlScraper
  3. self.name = 'Phaser'
  4. self.slug = 'phaser'
  5. self.type = 'phaser'
  6. self.version = '2.3.0'
  7. self.base_url = "https://phaser.io/docs/#{version}"
  8. self.links = {
  9. home: 'https://phaser.io/',
  10. code: 'https://github.com/photonstorm/phaser'
  11. }
  12. html_filters.push 'phaser/entries', 'phaser/clean_html'
  13. options[:skip] = %w(
  14. /docs_pixi-jsdoc.js.html
  15. /p2.Body.html
  16. /Phaser.html
  17. /PIXI.html
  18. /PIXI.WebGLMaskManager.html
  19. /PIXI.WebGLShaderManager.html
  20. /PIXI.WebGLSpriteBatch.html
  21. /PIXI.WebGLStencilManager.html)
  22. options[:attribution] = <<-HTML
  23. &copy; 2015 Richard Davey, Photon Storm Ltd.<br>
  24. Licensed under the MIT License.
  25. HTML
  26. end
  27. end