From 3817b1765b3dbcdb7cad28f35dae80193336742a Mon Sep 17 00:00:00 2001 From: Noeru Date: Mon, 17 Jun 2024 23:29:58 +0200 Subject: [PATCH 1/2] Update yii.rb - new api doc url structure --- lib/docs/scrapers/yii.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/docs/scrapers/yii.rb b/lib/docs/scrapers/yii.rb index eaabdbf02a..72d8301530 100755 --- a/lib/docs/scrapers/yii.rb +++ b/lib/docs/scrapers/yii.rb @@ -8,9 +8,8 @@ class Yii < UrlScraper HTML version '2.0' do - self.release = '2.0.12' - self.base_url = 'http://www.yiiframework.com/doc-2.0/' - self.root_path = 'index.html' + self.release = '2.0.50' + self.base_url = 'https://www.yiiframework.com/doc/api/2.0' self.links = { home: 'http://www.yiiframework.com/', code: 'https://github.com/yiisoft/yii2' From 78cf8a0b013a40d1a0f2da511f19a374f8fdc20d Mon Sep 17 00:00:00 2001 From: Noeru Date: Tue, 18 Jun 2024 00:01:35 +0200 Subject: [PATCH 2/2] Update yii.rb - attribution --- lib/docs/scrapers/yii.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/yii.rb b/lib/docs/scrapers/yii.rb index 72d8301530..c4325141c5 100755 --- a/lib/docs/scrapers/yii.rb +++ b/lib/docs/scrapers/yii.rb @@ -3,7 +3,7 @@ class Yii < UrlScraper self.type = 'yii' options[:attribution] = <<-HTML - © 2008–2017 by Yii Software LLC
+ © 2008–2024 by Yii Software LLC
Licensed under the three clause BSD license. HTML