소스 검색

Update Matplotlib documentation (3.4.1)

Simon Legner 4 년 전
부모
커밋
3175e2b4d3
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 10 1
      lib/docs/scrapers/matplotlib.rb

+ 1 - 1
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'
   ], [

+ 10 - 1
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 = [