summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-03-25 09:12:47 (GMT)
committerGeorg Brandl <georg@python.org>2014-03-25 09:12:47 (GMT)
commit0fef31efc266c5153c5ecf7f5796c401e0f33344 (patch)
tree0cf897f12d2e9f4f44453b9cfa52c1952e53fd56 /Doc/tools
parentfbd2db50054a85ec0594dd4f4e78443a18e759e0 (diff)
downloadcpython-0fef31efc266c5153c5ecf7f5796c401e0f33344.zip
cpython-0fef31efc266c5153c5ecf7f5796c401e0f33344.tar.gz
cpython-0fef31efc266c5153c5ecf7f5796c401e0f33344.tar.bz2
Closes #21045: make the Qt help build not look completely stupid
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/sphinxext/layout.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
index 4b16b3f..f24dc8c 100644
--- a/Doc/tools/sphinxext/layout.html
+++ b/Doc/tools/sphinxext/layout.html
@@ -12,11 +12,19 @@
{%- endif %}
</li>
{% endblock %}
+{% block relbar1 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %}
+{% block relbar2 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %}
{{ super() }}
+ {% if builder == 'qthelp' %}
+ <style type="text/css">
+ body { background-color: white; }
+ div.document { background-color: white; }
+ </style>
+ {% endif %}
{% endblock %}
{% block footer %}
<div class="footer">