cakephp.rb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. module Docs
  2. class Cakephp < FileScraper
  3. self.name = 'CakePHP'
  4. self.type = 'cakephp'
  5. self.dir = '/Users/Thibaut/DevDocs/Docs/CakePHP'
  6. self.root_path = 'index.html'
  7. self.links = {
  8. home: 'http://cakephp.org/',
  9. code: 'https://github.com/cakephp/cakephp'
  10. }
  11. html_filters.push 'cakephp/clean_html', 'cakephp/entries'
  12. options[:container] = '#right.columns.nine'
  13. options[:skip_patterns] = [/\Asource-/]
  14. options[:attribution] = <<-HTML
  15. &copy; 2005&ndash;2016 The Cake Software Foundation, Inc.<br>
  16. Licensed under the MIT License.<br>
  17. CakePHP is a registered trademark of Cake Software Foundation, Inc.<br>
  18. We are not endorsed by or affiliated with CakePHP.
  19. HTML
  20. version '3.2' do # http://api.cakephp.org/3.2/cakephp-api-documentation.zip
  21. self.release = '3.2.8'
  22. self.base_url = 'http://api.cakephp.org/3.2/'
  23. end
  24. version '3.1' do # http://api.cakephp.org/3.1/cakephp-api-documentation.zip
  25. self.release = '3.1.13'
  26. self.base_url = 'http://api.cakephp.org/3.1/'
  27. end
  28. version '2.8' do # http://api.cakephp.org/2.8/cakephp-api-documentation.zip
  29. self.release = '2.8.3'
  30. self.base_url = 'http://api.cakephp.org/2.8/'
  31. end
  32. version '2.7' do # http://api.cakephp.org/2.7/cakephp-api-documentation.zip
  33. self.release = '2.7.11'
  34. self.base_url = 'http://api.cakephp.org/2.7/'
  35. end
  36. end
  37. end