[devdocsgjs/main: 116/239] Update Matplotlib documentation (3.5.1)




commit b39b98d1330ecca503707755dd092908d968c6ba
Author: Simon Legner <Simon Legner gmail com>
Date:   Tue Jan 11 06:05:42 2022 +0100

    Update Matplotlib documentation (3.5.1)

 assets/stylesheets/pages/_sphinx.scss |  4 ++++
 lib/docs/scrapers/matplotlib.rb       | 11 ++++++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/assets/stylesheets/pages/_sphinx.scss b/assets/stylesheets/pages/_sphinx.scss
index f5959d55..f51e161d 100644
--- a/assets/stylesheets/pages/_sphinx.scss
+++ b/assets/stylesheets/pages/_sphinx.scss
@@ -41,6 +41,10 @@
   td > div { margin: 0 !important; }
 
   .classifier:before { content:": " }
+
+  .property::after { content:" " }
+
+  span.descclassname, span.descname { font-family: var(--monoFont) }
 }
 
 ._sphinx {
diff --git a/lib/docs/scrapers/matplotlib.rb b/lib/docs/scrapers/matplotlib.rb
index 050ceb0e..a2add6bf 100644
--- a/lib/docs/scrapers/matplotlib.rb
+++ b/lib/docs/scrapers/matplotlib.rb
@@ -12,7 +12,7 @@ module Docs
 
     html_filters.push 'matplotlib/entries', 'sphinx/clean_html'
 
-    options[:container] = '.body'
+    options[:container] = '.body, section'
     options[:skip] = %w(api_changes.html tutorial.html faq.html)
 
     options[:attribution] = <<-HTML
@@ -20,6 +20,15 @@ module Docs
       Licensed under the Matplotlib License Agreement.
     HTML
 
+    version '3.5' do
+      self.release = '3.5.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.4' do
       self.release = '3.4.3'
       self.base_urls = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]