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
- © 2014–2019 British Columbia Institute of Technology
+ © 2014–2020 British Columbia Institute of Technology
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)