|
|
@ -1,11 +1,11 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Cakephp < FileScraper
|
|
|
|
class Cakephp < UrlScraper
|
|
|
|
self.name = 'CakePHP'
|
|
|
|
self.name = 'CakePHP'
|
|
|
|
self.type = 'cakephp'
|
|
|
|
self.type = 'cakephp'
|
|
|
|
self.dir = '/Users/Thibaut/DevDocs/Docs/CakePHP'
|
|
|
|
# self.dir = '/Users/Thibaut/DevDocs/Docs/CakePHP'
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'http://cakephp.org/',
|
|
|
|
home: 'https://cakephp.org/',
|
|
|
|
code: 'https://github.com/cakephp/cakephp'
|
|
|
|
code: 'https://github.com/cakephp/cakephp'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -23,28 +23,33 @@ module Docs
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
version '3.3' do
|
|
|
|
version '3.3' do
|
|
|
|
self.release = '3.3.5'
|
|
|
|
self.release = '3.3.12'
|
|
|
|
self.base_url = 'http://api.cakephp.org/3.3/'
|
|
|
|
self.base_url = 'https://api.cakephp.org/3.3/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '3.2' do
|
|
|
|
version '3.2' do
|
|
|
|
self.release = '3.2.14'
|
|
|
|
self.release = '3.2.14'
|
|
|
|
self.base_url = 'http://api.cakephp.org/3.2/'
|
|
|
|
self.base_url = 'https://api.cakephp.org/3.2/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '3.1' do
|
|
|
|
version '3.1' do
|
|
|
|
self.release = '3.1.13'
|
|
|
|
self.release = '3.1.13'
|
|
|
|
self.base_url = 'http://api.cakephp.org/3.1/'
|
|
|
|
self.base_url = 'https://api.cakephp.org/3.1/'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '2.9' do
|
|
|
|
|
|
|
|
self.release = '2.9.4'
|
|
|
|
|
|
|
|
self.base_url = 'https://api.cakephp.org/2.9/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '2.8' do
|
|
|
|
version '2.8' do
|
|
|
|
self.release = '2.8.8'
|
|
|
|
self.release = '2.8.8'
|
|
|
|
self.base_url = 'http://api.cakephp.org/2.8/'
|
|
|
|
self.base_url = 'https://api.cakephp.org/2.8/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '2.7' do
|
|
|
|
version '2.7' do
|
|
|
|
self.release = '2.7.11'
|
|
|
|
self.release = '2.7.11'
|
|
|
|
self.base_url = 'http://api.cakephp.org/2.7/'
|
|
|
|
self.base_url = 'https://api.cakephp.org/2.7/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
private
|
|
|
|
private
|
|
|
|