فهرست منبع

Update Matplotlib documentation (3.6.0)

Simon Legner 3 سال پیش
والد
کامیت
06c37d52d7
3فایلهای تغییر یافته به همراه12 افزوده شده و 2 حذف شده
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 1 0
      lib/docs/filters/matplotlib/entries.rb
  3. 10 1
      lib/docs/scrapers/matplotlib.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -553,7 +553,7 @@ credits = [
     'https://daringfireball.net/projects/markdown/license'
     'https://daringfireball.net/projects/markdown/license'
   ], [
   ], [
     'Matplotlib',
     'Matplotlib',
-    '2012-2021 Matplotlib Development Team. All rights reserved.',
+    '2012-2022 Matplotlib Development Team. All rights reserved.',
     'Custom',
     'Custom',
     'https://raw.githubusercontent.com/matplotlib/matplotlib/master/LICENSE/LICENSE'
     'https://raw.githubusercontent.com/matplotlib/matplotlib/master/LICENSE/LICENSE'
   ], [
   ], [

+ 1 - 0
lib/docs/filters/matplotlib/entries.rb

@@ -18,6 +18,7 @@ module Docs
         name.remove! 'mpl_toolkits.'
         name.remove! 'mpl_toolkits.'
         name.remove! ' API'
         name.remove! ' API'
         name.remove! %r{ \(.*\)}
         name.remove! %r{ \(.*\)}
+        name.remove! %r{#$} # headerlink
         name
         name
       end
       end
 
 

+ 10 - 1
lib/docs/scrapers/matplotlib.rb

@@ -16,10 +16,19 @@ module Docs
     options[:skip] = %w(api_changes.html tutorial.html faq.html)
     options[:skip] = %w(api_changes.html tutorial.html faq.html)
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2021 Matplotlib Development Team. All rights reserved.<br>
+      &copy; 2012&ndash;2022 Matplotlib Development Team. All rights reserved.<br>
       Licensed under the Matplotlib License Agreement.
       Licensed under the Matplotlib License Agreement.
     HTML
     HTML
 
 
+    version '3.6' do
+      self.release = '3.6.0'
+      self.base_urls = [
+        "https://matplotlib.org/stable/api/",
+        "https://matplotlib.org/stable/mpl_toolkits/mplot3d/",
+        "https://matplotlib.org/stable/mpl_toolkits/axes_grid/api/"
+      ]
+    end
+
     version '3.5' do
     version '3.5' do
       self.release = '3.5.1'
       self.release = '3.5.1'
       self.base_urls = [
       self.base_urls = [