From 3175e2b4d3d53db745d02f7871c8d0ff5fc2f16a Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 15 Apr 2021 22:04:49 +0200 Subject: [PATCH] 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 - © 2012–2020 Matplotlib Development Team. All rights reserved.
+ © 2012–2021 Matplotlib Development Team. All rights reserved.
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 = [