Skip to content

Force html4 writer for sphinx 2 #15196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,11 @@ dl.class p.rubric + table.docutils td:first-of-type > strong {
font-weight: normal;
}

.classifier:before {
font-style: normal;
margin: 0.2em;
content: ":";
}

/* module summary table */
.longtable.docutils {
Expand Down
5 changes: 4 additions & 1 deletion doc/_templates/search.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% extends "layout.html" %}
{% set title = _('Search') %}
{% set script_files = script_files + ['_static/searchtools.js'] %}
{%- block scripts %}
{{ super() }}
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
{%- endblock %}
{% block body %}
<h1 id="search-documentation">{{ _('Search') }}</h1>
<p>
Expand Down
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ def _check_dependencies():
'fontpkg': r'\setmainfont{DejaVu Serif}',
}

html4_writer = True


def setup(app):
if any(st in version for st in ('post', 'alpha', 'beta')):
Expand Down
Loading