diff --git a/lib/docs/scrapers/codeigniter.rb b/lib/docs/scrapers/codeigniter.rb index 05258d9a..a8113210 100644 --- a/lib/docs/scrapers/codeigniter.rb +++ b/lib/docs/scrapers/codeigniter.rb @@ -2,7 +2,7 @@ module Docs class Codeigniter < UrlScraper self.name = 'CodeIgniter' self.type = 'sphinx' - self.base_url = 'https://www.codeigniter.com/user_guide/' + self.base_url = 'https://codeigniter.com/userguide3/' self.root_path = 'index.html' self.links = { home: 'https://codeigniter.com/', @@ -31,7 +31,7 @@ module Docs ] options[:attribution] = <<-HTML - © 2014–2018 British Columbia Institute of Technology
+ © 2014–2019 British Columbia Institute of Technology
Licensed under the MIT License. HTML @@ -40,7 +40,7 @@ module Docs end def get_latest_version(opts) - doc = fetch_doc('https://codeigniter.com/user_guide/changelog.html', opts) + doc = fetch_doc('https://codeigniter.com/userguide3/changelog.html', opts) header = doc.at_css('#change-log h2') header.content.scan(/([0-9.]+)/)[0][0] end