History

Update Matplotlib documentation (3.6.0)

Simon Legner committed 4 years ago

Commit 06c37d51 parent 795646c3 files · +12 −2Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/matplotlib/entries.rb +1 −0
  3. lib/docs/scrapers/matplotlib.rb +10 −1
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -553,7 +553,7 @@ credits = [ · 552 unmodified lines
553553 'https://daringfireball.net/projects/markdown/license'
554554 ], [
555555 'Matplotlib',
556− '2012-2021 Matplotlib Development Team. All rights reserved.',
556+ '2012-2022 Matplotlib Development Team. All rights reserved.',
557557 'Custom',
558558 'https://raw.githubusercontent.com/matplotlib/matplotlib/master/LICENSE/LICENSE'
559559 ], [
lib/docs/filters/matplotlib/entries.rb+1−0
@@ -18,6 +18,7 @@ module Docs · 17 unmodified lines
1818 name.remove! 'mpl_toolkits.'
1919 name.remove! ' API'
2020 name.remove! %r{ \(.*\)}
21+ name.remove! %r{#$} # headerlink
2122 name
2223 end
2324
lib/docs/scrapers/matplotlib.rb+10−1
@@ -16,10 +16,19 @@ module Docs · 15 unmodified lines
1616 options[:skip] = %w(api_changes.html tutorial.html faq.html)
1717
1818 options[:attribution] = <<-HTML
19− &copy; 2012&ndash;2021 Matplotlib Development Team. All rights reserved.<br>
19+ &copy; 2012&ndash;2022 Matplotlib Development Team. All rights reserved.<br>
2020 Licensed under the Matplotlib License Agreement.
2121 HTML
2222
23+ version '3.6' do
24+ self.release = '3.6.0'
25+ self.base_urls = [
26+ "https://matplotlib.org/stable/api/",
27+ "https://matplotlib.org/stable/mpl_toolkits/mplot3d/",
28+ "https://matplotlib.org/stable/mpl_toolkits/axes_grid/api/"
29+ ]
30+ end
31+
2332 version '3.5' do
2433 self.release = '3.5.1'
2534 self.base_urls = [