[devdocsgjs/main: 23/239] Update Matplotlib documentation (3.4.3)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 23/239] Update Matplotlib documentation (3.4.3)
- Date: Fri, 8 Apr 2022 07:47:33 +0000 (UTC)
commit f4ca6cec9f8c088f2efcb045376e07f352781a2e
Author: Simon Legner <Simon Legner gmail com>
Date: Sun Nov 28 11:58:45 2021 +0100
Update Matplotlib documentation (3.4.3)
Fixes #1650.
assets/stylesheets/pages/_sphinx.scss | 2 ++
lib/docs/filters/sphinx/clean_html.rb | 1 +
lib/docs/scrapers/matplotlib.rb | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/assets/stylesheets/pages/_sphinx.scss b/assets/stylesheets/pages/_sphinx.scss
index 3e2c12c8..f5959d55 100644
--- a/assets/stylesheets/pages/_sphinx.scss
+++ b/assets/stylesheets/pages/_sphinx.scss
@@ -39,6 +39,8 @@
.admonition-title + dl { padding-top: .5em; }
td > div { margin: 0 !important; }
+
+ .classifier:before { content:": " }
}
._sphinx {
diff --git a/lib/docs/filters/sphinx/clean_html.rb b/lib/docs/filters/sphinx/clean_html.rb
index 71720aca..ce06f3fe 100644
--- a/lib/docs/filters/sphinx/clean_html.rb
+++ b/lib/docs/filters/sphinx/clean_html.rb
@@ -58,6 +58,7 @@ module Docs
end
css('dt').each do |node|
+ next if current_url.host == 'matplotlib.org'
next unless node['id'] || node.at_css('code, .classifier')
links = []
links << node.children.last.remove while node.children.last.try(:name) == 'a'
diff --git a/lib/docs/scrapers/matplotlib.rb b/lib/docs/scrapers/matplotlib.rb
index a76dcc61..050ceb0e 100644
--- a/lib/docs/scrapers/matplotlib.rb
+++ b/lib/docs/scrapers/matplotlib.rb
@@ -21,7 +21,7 @@ module Docs
HTML
version '3.4' do
- self.release = '3.4.1'
+ self.release = '3.4.3'
self.base_urls = [
"https://matplotlib.org/#{release}/api/",
"https://matplotlib.org/#{release}/mpl_toolkits/mplot3d/",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]