phaser.rb 722 B

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