[devdocsgjs/main: 1127/1867] codeigniter: add version 4




commit 50d715694b21f1ec8329a83b256550f2e2f3cdbe
Author: Simon Legner <Simon Legner gmail com>
Date:   Sat Nov 14 12:05:45 2020 +0100

    codeigniter: add version 4

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 lib/docs/scrapers/codeigniter.rb                     | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 64bb94d6..8e8d9219 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -183,7 +183,7 @@ credits = [
     'https://raw.githubusercontent.com/Codeception/CodeceptJS/master/LICENSE'
   ], [
     'CodeIgniter',
-    '2014-2018 British Columbia Institute of Technology',
+    '2014-2020 British Columbia Institute of Technology',
     'MIT',
     'https://raw.githubusercontent.com/bcit-ci/CodeIgniter/develop/license.txt'
   ], [
diff --git a/lib/docs/scrapers/codeigniter.rb b/lib/docs/scrapers/codeigniter.rb
index 4438abb9..37d17d7c 100644
--- a/lib/docs/scrapers/codeigniter.rb
+++ b/lib/docs/scrapers/codeigniter.rb
@@ -2,7 +2,6 @@ module Docs
   class Codeigniter < UrlScraper
     self.name = 'CodeIgniter'
     self.type = 'sphinx'
-    self.base_url = 'https://codeigniter.com/userguide3/'
     self.root_path = 'index.html'
     self.links = {
       home: 'https://codeigniter.com/',
@@ -31,12 +30,18 @@ module Docs
     ]
 
     options[:attribution] = <<-HTML
-      &copy; 2014&ndash;2019 British Columbia Institute of Technology<br>
+      &copy; 2014&ndash;2020 British Columbia Institute of Technology<br>
       Licensed under the MIT License.
     HTML
 
+    version '4' do
+      self.release = '4.0.4'
+      self.base_url = 'https://codeigniter.com/userguide4/'
+    end
+
     version '3' do
       self.release = '3.1.8'
+      self.base_url = 'https://codeigniter.com/userguide3/'
     end
 
     def get_latest_version(opts)


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