Browse Source

Update Qt documentation (6.8)

Simon Legner 8 months ago
parent
commit
3fabf603dc
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/docs/scrapers/qt.rb

+ 3 - 3
lib/docs/scrapers/qt.rb

@@ -11,7 +11,7 @@ module Docs
 
 
     html_filters.push 'qt/entries', 'qt/clean_html'
     html_filters.push 'qt/entries', 'qt/clean_html'
 
 
-    options[:container] = '.main'
+    options[:container] = 'article, .main'
     options[:max_image_size] = 156_000
     options[:max_image_size] = 156_000
     options[:skip_patterns] = [
     options[:skip_patterns] = [
       # License, copyright attributions
       # License, copyright attributions
@@ -103,12 +103,12 @@ module Docs
       Licensed under the GNU Free Documentation License, Version 1.3.
       Licensed under the GNU Free Documentation License, Version 1.3.
     HTML
     HTML
 
 
-    version '6.8' do
+    version do
       self.release = '6.8'
       self.release = '6.8'
       self.base_url = "https://doc.qt.io/qt-#{self.release}/"
       self.base_url = "https://doc.qt.io/qt-#{self.release}/"
     end
     end
 
 
-    version do
+    version '6.2' do
       self.release = '6.2'
       self.release = '6.2'
       self.base_url = "https://doc.qt.io/qt-#{self.release}/"
       self.base_url = "https://doc.qt.io/qt-#{self.release}/"
     end
     end