[devdocsgjs/main: 1065/1867] Update Codeigniter 3 scraper links
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1065/1867] Update Codeigniter 3 scraper links
- Date: Fri, 19 Nov 2021 23:47:41 +0000 (UTC)
commit 830af650d847fce0d7c17b2bd000c717b92f21f8
Author: Marco Monteiro <marco marcomonteiro net>
Date: Wed Jul 15 12:01:09 2020 +0100
Update Codeigniter 3 scraper links
lib/docs/scrapers/codeigniter.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
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<br>
+ © 2014–2019 British Columbia Institute of Technology<br>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]