Update CakePHP documentation (3.3.3, 3.2.14, 3.1.13, 2.8.8, 2.7.11)

pull/496/head
Thibaut Courouble 8 years ago
parent 6e8c7133bc
commit 6688dd7ac0

@ -26,7 +26,7 @@ module Docs
return 'Global' if slug == 'namespace-None'
case page_type
when 'class', 'namespace', 'package'
if (node = at_css('.info')) && node.content =~ /Located at\s+((?:\w+\/?)+)/ # for 2.x docs
if (node = at_css('.info')) && node.content =~ /Location:\s+((?:\w+\/?)+)/ # for 2.x docs
path = $1.split('/')
else
path = slug_without_page_type.split('.')

@ -23,12 +23,12 @@ module Docs
HTML
version '3.3' do
self.release = '3.3.1'
self.release = '3.3.3'
self.base_url = 'http://api.cakephp.org/3.3/'
end
version '3.2' do
self.release = '3.2.8'
self.release = '3.2.14'
self.base_url = 'http://api.cakephp.org/3.2/'
end
@ -38,7 +38,7 @@ module Docs
end
version '2.8' do
self.release = '2.8.3'
self.release = '2.8.8'
self.base_url = 'http://api.cakephp.org/2.8/'
end

Loading…
Cancel
Save