[devdocsgjs/main: 1606/1867] Update Matplotlib documentation (3.4.1)




commit 3175e2b4d3d53db745d02f7871c8d0ff5fc2f16a
Author: Simon Legner <Simon Legner gmail com>
Date:   Thu Apr 15 22:04:49 2021 +0200

    Update Matplotlib documentation (3.4.1)

 assets/javascripts/templates/pages/about_tmpl.coffee |  2 +-
 lib/docs/scrapers/matplotlib.rb                      | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 281d27da..6767be2f 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-2020 Matplotlib Development Team. All rights reserved.',
+    '2012-2021 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 0cf44c07..a76dcc61 100644
--- a/lib/docs/scrapers/matplotlib.rb
+++ b/lib/docs/scrapers/matplotlib.rb
@@ -16,10 +16,19 @@ module Docs
     options[:skip] = %w(api_changes.html tutorial.html faq.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2020 Matplotlib Development Team. All rights reserved.<br>
+      &copy; 2012&ndash;2021 Matplotlib Development Team. All rights reserved.<br>
       Licensed under the Matplotlib License Agreement.
     HTML
 
+    version '3.4' do
+      self.release = '3.4.1'
+      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.3' do
       self.release = '3.3.3'
       self.base_urls = [


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