Fixes #1650.
Unified · Split
| @@ -39,6 +39,8 @@ · 38 unmodified lines | |||
| 39 | .admonition-title + dl { padding-top: .5em; } | 39 | .admonition-title + dl { padding-top: .5em; } |
| 40 | 40 | ||
| 41 | td > div { margin: 0 !important; } | 41 | td > div { margin: 0 !important; } |
| 42 | |||
| 43 | .classifier:before { content:": " } | ||
| 42 | } | 44 | } |
| 43 | 45 | ||
| 44 | ._sphinx { | 46 | ._sphinx { |
| @@ -58,6 +58,7 @@ module Docs · 57 unmodified lines | |||
| 58 | end | 58 | end |
| 59 | 59 | ||
| 60 | css('dt').each do |node| | 60 | css('dt').each do |node| |
| 61 | next if current_url.host == 'matplotlib.org' | ||
| 61 | next unless node['id'] || node.at_css('code, .classifier') | 62 | next unless node['id'] || node.at_css('code, .classifier') |
| 62 | links = [] | 63 | links = [] |
| 63 | links << node.children.last.remove while node.children.last.try(:name) == 'a' | 64 | links << node.children.last.remove while node.children.last.try(:name) == 'a' |
| @@ -21,7 +21,7 @@ module Docs · 20 unmodified lines | |||
| 21 | HTML | 21 | HTML |
| 22 | 22 | ||
| 23 | version '3.4' do | 23 | version '3.4' do |
| 24 | self.release = '3.4.1' | 24 | self.release = '3.4.3' |
| 25 | self.base_urls = [ | 25 | self.base_urls = [ |
| 26 | "https://matplotlib.org/#{release}/api/", | 26 | "https://matplotlib.org/#{release}/api/", |
| 27 | "https://matplotlib.org/#{release}/mpl_toolkits/mplot3d/", | 27 | "https://matplotlib.org/#{release}/mpl_toolkits/mplot3d/", |