1
0
Эх сурвалжийг харах

Merge pull request #1993 from ClasherKasten/bump/minor-versions

update multiple minor versions
Simon Legner 2 жил өмнө
parent
commit
5ac216239b

+ 2 - 0
assets/stylesheets/pages/_pygame.scss

@@ -9,4 +9,6 @@
   .line-block > .line:first-child { margin-bottom: 1em; }
   .line-block > .line:only-child { margin-bottom: 0em; }
   span.signature { font-family: monospace; }
+
+  .warning { @extend %note, %note-red }
 }

+ 1 - 1
lib/docs/filters/pygame/clean_html.rb

@@ -22,7 +22,7 @@ module Docs
       end
 
       def other
-        css('> :not(.section), table.toc.docutils, .tooltip-content').remove
+        css('table.toc.docutils, .tooltip-content').remove
 
         # Remove code tag from function, class, method, module, etc.
         css('dl > dt').each do |node|

+ 5 - 0
lib/docs/scrapers/flask.rb

@@ -18,6 +18,11 @@ module Docs
       Licensed under the BSD 3-clause License.
     HTML
 
+    version '2.3' do
+      self.release = '2.3.x'
+      self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"
+    end
+
     version '2.2' do
       self.release = '2.2.x'
       self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"

+ 5 - 0
lib/docs/scrapers/jinja.rb

@@ -17,6 +17,11 @@ module Docs
       Licensed under the BSD 3-clause License.
     HTML
 
+    version '3.1' do
+      self.release = '3.1.x'
+      self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/"
+    end
+
     version '3.0' do
       self.release = '3.0.x'
       self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/"

+ 1 - 1
lib/docs/scrapers/mariadb.rb

@@ -2,7 +2,7 @@ module Docs
   class Mariadb < UrlScraper
     self.name = 'MariaDB'
     self.type = 'mariadb'
-    self.release = '10.9.2'
+    self.release = '10.11.2'
     self.base_url = 'https://mariadb.com/kb/en/'
     self.root_path = 'documentation/'
     self.links = {

+ 12 - 3
lib/docs/scrapers/matplotlib.rb

@@ -16,12 +16,12 @@ module Docs
     options[:skip] = %w(api_changes.html tutorial.html faq.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2022 Matplotlib Development Team. All rights reserved.<br>
+      &copy; 2012&ndash;2023 Matplotlib Development Team. All rights reserved.<br>
       Licensed under the Matplotlib License Agreement.
     HTML
 
-    version '3.6' do
-      self.release = '3.6.0'
+    version '3.7' do
+      self.release = '3.7.1'
       self.base_urls = [
         "https://matplotlib.org/stable/api/",
         "https://matplotlib.org/stable/mpl_toolkits/mplot3d/",
@@ -29,6 +29,15 @@ module Docs
       ]
     end
 
+    version '3.6' do
+      self.release = '3.6.0'
+      self.base_urls = [
+        "https://matplotlib.org/#{release}/api/",
+        "https://matplotlib.org/#{release}/mpl_toolkits/mplot3d/",
+        "https://matplotlib.org/#{release}/mpl_toolkits/axes_grid/api/"
+      ]
+    end
+
     version '3.5' do
       self.release = '3.5.1'
       self.base_urls = [

+ 2 - 2
lib/docs/scrapers/postgresql.rb

@@ -51,12 +51,12 @@ module Docs
       /\Aunsupported-features/ ]
 
     options[:attribution] = <<-HTML
-      &copy; 1996&ndash;2022 The PostgreSQL Global Development Group<br>
+      &copy; 1996&ndash;2023 The PostgreSQL Global Development Group<br>
       Licensed under the PostgreSQL License.
     HTML
 
     version '15' do
-      self.release = '15.0'
+      self.release = '15.3'
       self.base_url = "https://www.postgresql.org/docs/#{version}/"
     end
 

+ 1 - 1
lib/docs/scrapers/pygame.rb

@@ -1,7 +1,7 @@
 module Docs
   class Pygame < UrlScraper
     self.type = 'pygame'
-    self.release = '2.0.0'
+    self.release = '2.4.0'
     self.base_url = 'https://www.pygame.org/docs/'
     self.root_path = 'py-modindex.html'
     self.links = {

+ 1 - 1
lib/docs/scrapers/sqlite.rb

@@ -2,7 +2,7 @@ module Docs
   class Sqlite < FileScraper
     self.name = 'SQLite'
     self.type = 'sqlite'
-    self.release = '3.40.0'
+    self.release = '3.42.0'
     self.base_url = 'https://sqlite.org/'
     self.root_path = 'docs.html'
     self.initial_paths = %w(keyword_index.html)

+ 1 - 1
lib/docs/scrapers/tailwindcss.rb

@@ -5,7 +5,7 @@ module Docs
     self.slug = 'tailwindcss'
     self.base_url = 'https://tailwindcss.com/docs'
     self.root_path = '/'
-    self.release = '3.1.8'
+    self.release = '3.3.2'
     self.links = {
       home: 'tps://tailwindcss.com/',
       code: 'https://github.com/tailwindlabs/tailwindcss'

+ 5 - 0
lib/docs/scrapers/werkzeug.rb

@@ -17,6 +17,11 @@ module Docs
       Licensed under the BSD 3-clause License.
     HTML
 
+    version '2.3' do
+      self.release = '2.3.x'
+      self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"
+    end
+
     version '2.2' do
       self.release = '2.2.x'
       self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"

BIN
public/icons/docs/flask/16.png


BIN
public/icons/docs/flask/16@2x.png


+ 1 - 1
public/icons/docs/flask/SOURCE

@@ -1 +1 @@
-https://flask.palletsprojects.com/en/1.1.x/_static/flask-icon.png
+https://flask.palletsprojects.com/en/2.3.x/_static/shortcut-icon.png

BIN
public/icons/docs/werkzeug/16.png


BIN
public/icons/docs/werkzeug/16@2x.png


+ 1 - 1
public/icons/docs/werkzeug/SOURCE

@@ -1 +1 @@
-https://werkzeug.palletsprojects.com/en/1.0.x/_static/favicon.ico
+https://werkzeug.palletsprojects.com/en/2.3.x/_static/shortcut-icon.png