[Python-checkins] cpython (2.7): Closes #21045: make the Qt help build not look completely stupid
georg.brandl
python-checkins at python.org
Tue Mar 25 10:13:11 CET 2014
http://hg.python.org/cpython/rev/d6831d94dd1e
changeset: 89965:d6831d94dd1e
branch: 2.7
parent: 89962:2e51845a99e2
user: Georg Brandl <georg at python.org>
date: Tue Mar 25 10:12:47 2014 +0100
summary:
Closes #21045: make the Qt help build not look completely stupid
files:
Doc/tools/sphinxext/layout.html | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
--- 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">
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list