8000 Merge pull request #15196 from dstansby/sphinx2 · matplotlib/matplotlib@84e531b · GitHub
[go: up one dir, main page]

Skip to content

Commit 84e531b

Browse files
authored
Merge pull request #15196 from dstansby/sphinx2
Force html4 writer for sphinx 2
2 parents 5700347 + 373fbda commit 84e531b

File tree

5 files changed

+640
-609
lines changed

5 files changed

+640
-609
lines changed

doc/_static/mpl.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,11 @@ dl.class p.rubric + table.docutils td:first-of-type > strong {
676676
font-weight: normal;
677677
}
678678

679+
.classifier:before {
680+
font-style: normal;
681+
margin: 0.2em;
682+
content: ":";
683+
}
679684

680685
/* module summary table */
681686
.longtable.docutils {

doc/_templates/search.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{% extends "layout.html" %}
22
{% set title = _('Search') %}
3-
{% set script_files = script_files + ['_static/searchtools.js'] %}
3+
{%- block scripts %}
4+
{{ super() }}
5+
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
6+
{%- endblock %}
47
{% block body %}
58
<h1 id="search-documentation">{{ _('Search') }}</h1>
69
<p>

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ def _check_dependencies():
362362
'fontpkg': r'\setmainfont{DejaVu Serif}',
363363
}
364364

365+
html4_writer = True
366+
365367

366368
def setup(app):
367369
if any(st in version for st in ('post', 'alpha', 'beta')):

0 commit comments

Comments
 (0)
0