[devdocsgjs/main: 909/1867] Update CakePHP documentation (3.8.3)




commit 7339748b592a0f20e96f948a33ed70d30876455a
Author: Jasper van Merle <jaspervmerle gmail com>
Date:   Tue Sep 3 01:48:22 2019 +0200

    Update CakePHP documentation (3.8.3)

 .../javascripts/templates/pages/about_tmpl.coffee  |   2 +-
 lib/docs/scrapers/cakephp.rb                       |  34 +++++++++++++--------
 public/icons/docs/cakephp/16.png                   | Bin 760 -> 1137 bytes
 public/icons/docs/cakephp/16 2x png                | Bin 1998 -> 1311 bytes
 public/icons/docs/cakephp/SOURCE                   |   2 +-
 5 files changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 80f171c4..5bfc940e 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -143,7 +143,7 @@ credits = [
     'http://en.cppreference.com/w/Cppreference:Copyright/CC-BY-SA'
   ], [
     'CakePHP',
-    '2005-2018 The Cake Software Foundation, Inc.',
+    '2005-present The Cake Software Foundation, Inc.',
     'MIT',
     'https://raw.githubusercontent.com/cakephp/cakephp/master/LICENSE'
   ], [
diff --git a/lib/docs/scrapers/cakephp.rb b/lib/docs/scrapers/cakephp.rb
index 6291b4ab..13fe9f94 100644
--- a/lib/docs/scrapers/cakephp.rb
+++ b/lib/docs/scrapers/cakephp.rb
@@ -15,60 +15,70 @@ module Docs
     options[:skip_patterns] = [/\Asource-/]
 
     options[:attribution] = <<-HTML
-      &copy; 2005&ndash;2018 The Cake Software Foundation, Inc.<br>
+      &copy; 2005&ndash;present The Cake Software Foundation, Inc.<br>
       Licensed under the MIT License.<br>
       CakePHP is a registered trademark of Cake Software Foundation, Inc.<br>
       We are not endorsed by or affiliated with CakePHP.
     HTML
 
+    version '3.8' do
+      self.release = '3.8.3'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
+    end
+
+    version '3.7' do
+      self.release = '3.7.9'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
+    end
+
     version '3.6' do
-      self.release = '3.6.2'
-      self.base_url = 'https://api.cakephp.org/3.6/'
+      self.release = '3.6.15'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '3.5' do
       self.release = '3.5.15'
-      self.base_url = 'https://api.cakephp.org/3.5/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '3.4' do
       self.release = '3.4.13'
-      self.base_url = 'https://api.cakephp.org/3.4/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '3.3' do
       self.release = '3.3.15'
-      self.base_url = 'https://api.cakephp.org/3.3/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '3.2' do
       self.release = '3.2.14'
-      self.base_url = 'https://api.cakephp.org/3.2/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '3.1' do
       self.release = '3.1.13'
-      self.base_url = 'https://api.cakephp.org/3.1/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '2.10' do
       self.release = '2.10.3'
-      self.base_url = 'https://api.cakephp.org/2.10/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '2.9' do
       self.release = '2.9.4'
-      self.base_url = 'https://api.cakephp.org/2.9/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '2.8' do
       self.release = '2.8.8'
-      self.base_url = 'https://api.cakephp.org/2.8/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     version '2.7' do
       self.release = '2.7.11'
-      self.base_url = 'https://api.cakephp.org/2.7/'
+      self.base_url = "https://api.cakephp.org/#{self.version}/";
     end
 
     def get_latest_version(opts)
diff --git a/public/icons/docs/cakephp/16.png b/public/icons/docs/cakephp/16.png
index 687a5b39..bac36d37 100644
Binary files a/public/icons/docs/cakephp/16.png and b/public/icons/docs/cakephp/16.png differ
diff --git a/public/icons/docs/cakephp/16 2x png b/public/icons/docs/cakephp/16 2x png
index fcddfbb0..dc8e35d6 100644
Binary files a/public/icons/docs/cakephp/16 2x png and b/public/icons/docs/cakephp/16 2x png differ
diff --git a/public/icons/docs/cakephp/SOURCE b/public/icons/docs/cakephp/SOURCE
index 2e3167d0..e0d1c9dd 100644
--- a/public/icons/docs/cakephp/SOURCE
+++ b/public/icons/docs/cakephp/SOURCE
@@ -1 +1 @@
-http://cakephp.org/pages/logos
+https://github.com/cakephp/cakephp-api-docs/blob/master/templates/cakephp/resources/favicon.png


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]