Skip to content

Commit 3175e2b

Browse files
committed
Update Matplotlib documentation (3.4.1)
1 parent 19d0f58 commit 3175e2b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ credits = [
508508
'https://daringfireball.net/projects/markdown/license'
509509
], [
510510
'Matplotlib',
511-
'2012-2020 Matplotlib Development Team. All rights reserved.',
511+
'2012-2021 Matplotlib Development Team. All rights reserved.',
512512
'Custom',
513513
'https://raw.githubusercontent.com/matplotlib/matplotlib/master/LICENSE/LICENSE'
514514
], [

lib/docs/scrapers/matplotlib.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,19 @@ class Matplotlib < UrlScraper
1616
options[:skip] = %w(api_changes.html tutorial.html faq.html)
1717

1818
options[:attribution] = <<-HTML
19-
&copy; 2012&ndash;2020 Matplotlib Development Team. All rights reserved.<br>
19+
&copy; 2012&ndash;2021 Matplotlib Development Team. All rights reserved.<br>
2020
Licensed under the Matplotlib License Agreement.
2121
HTML
2222

23+
version '3.4' do
24+
self.release = '3.4.1'
25+
self.base_urls = [
26+
"https://matplotlib.org/#{release}/api/",
27+
"https://matplotlib.org/#{release}/mpl_toolkits/mplot3d/",
28+
"https://matplotlib.org/#{release}/mpl_toolkits/axes_grid/api/"
29+
]
30+
end
31+
2332
version '3.3' do
2433
self.release = '3.3.3'
2534
self.base_urls = [

0 commit comments

Comments
 (0)