[devdocsgjs/main: 1422/1867] Update Matplotlib documentation (3.3.3)




commit 2eaf7cb894045623e2ab8358828cccde238d1163
Author: Simon Legner <Simon Legner gmail com>
Date:   Sun Dec 27 18:51:25 2020 +0100

    Update Matplotlib documentation (3.3.3)

 assets/javascripts/templates/pages/about_tmpl.coffee |  2 +-
 lib/docs/scrapers/matplotlib.rb                      | 20 +++++++++++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 217bb32b..39d552c1 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -508,7 +508,7 @@ credits = [
     'https://daringfireball.net/projects/markdown/license'
   ], [
     'Matplotlib',
-    '2012-2018 Matplotlib Development Team. All rights reserved.',
+    '2012-2020 Matplotlib Development Team. All rights reserved.',
     'Custom',
     'https://raw.githubusercontent.com/matplotlib/matplotlib/master/LICENSE/LICENSE'
   ], [
diff --git a/lib/docs/scrapers/matplotlib.rb b/lib/docs/scrapers/matplotlib.rb
index 96a64edb..0cf44c07 100644
--- a/lib/docs/scrapers/matplotlib.rb
+++ b/lib/docs/scrapers/matplotlib.rb
@@ -16,10 +16,28 @@ module Docs
     options[:skip] = %w(api_changes.html tutorial.html faq.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2018 Matplotlib Development Team. All rights reserved.<br>
+      &copy; 2012&ndash;2020 Matplotlib Development Team. All rights reserved.<br>
       Licensed under the Matplotlib License Agreement.
     HTML
 
+    version '3.3' do
+      self.release = '3.3.3'
+      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.2' do
+      self.release = '3.2.2'
+      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.1' do
       self.release = '3.1.1'
       self.base_urls = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]