[devdocsgjs/main: 1370/1867] Update QT documentation (6.0)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1370/1867] Update QT documentation (6.0)
- Date: Fri, 19 Nov 2021 23:47:55 +0000 (UTC)
commit f80c342cfe9fc141c657255ed38e06d87b08c006
Author: Phil Scherer <pnscher evoforge org>
Date: Thu Dec 10 22:14:35 2020 +0000
Update QT documentation (6.0)
lib/docs/scrapers/qt.rb | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/lib/docs/scrapers/qt.rb b/lib/docs/scrapers/qt.rb
index 108844be..5ba7873d 100644
--- a/lib/docs/scrapers/qt.rb
+++ b/lib/docs/scrapers/qt.rb
@@ -103,6 +103,11 @@ module Docs
Licensed under the GNU Free Documentation License, Version 1.3.
HTML
+ version '6.0' do
+ self.release = '6.0'
+ self.base_url = "https://doc.qt.io/qt-#{self.release}/"
+ end
+
version '5.15' do
self.release = '5.15'
self.base_url = "https://doc.qt.io/qt-#{self.release}/"
@@ -120,7 +125,7 @@ module Docs
version '5.12' do
self.release = '5.12'
- self.base_url = "https://doc.qt.io/archivex/qt-#{self.release}/"
+ self.base_url = "https://doc.qt.io/archives/qt-#{self.release}/"
end
version '5.11' do
@@ -139,7 +144,7 @@ module Docs
end
def get_latest_version(opts)
- doc = fetch_doc('https://doc.qt.io/qt-5/index.html', opts)
+ doc = fetch_doc('https://doc.qt.io/qt-6/index.html', opts)
doc.at_css('.mainContent h1.title').content.sub(/Qt /, '')
end
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]