Issue #28251: Improvements to help manuals on Windows.

This commit is contained in:
Steve Dower 2016-09-22 17:11:53 -07:00
commit 3e7d93dc70
8 changed files with 30 additions and 6 deletions

View file

@ -14,6 +14,7 @@
{% endblock %}
{%- macro searchbox() %}
{# modified from sphinx/themes/basic/searchbox.html #}
{%- if builder != "htmlhelp" %}
<div class="inline-search" style="display: none" role="search">
<form class="inline-search" action="{{ pathto('search') }}" method="get">
<input placeholder="{{ _('Quick search') }}" type="text" name="q" />
@ -23,11 +24,12 @@
</form>
</div>
<script type="text/javascript">$('.inline-search').show(0);</script>
{%- endif %}
{%- endmacro %}
{% block relbar1 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %}
{% block relbar2 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %}
{% block relbaritems %}
{%- if pagename != "search" and builder != "singlehtml" %}
{%- if pagename != "search" and builder != "singlehtml" and builder != "htmlhelp" %}
<li class="right">
{{ searchbox() }}
{{ reldelim2 }}
@ -36,6 +38,7 @@
{% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
{% if builder != "htmlhelp" %}
{% 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 %}
{% if pagename == 'whatsnew/changelog' and not embedded %}
@ -95,6 +98,7 @@
});
</script>
{% endif %}
{% endif %}
{{ super() }}
{% endblock %}
{% block footer %}

View file

@ -47,7 +47,8 @@
This article explains the new features in Python 3.6, compared to 3.5.
For full details, see the :source:`Misc/NEWS` file.
For full details, see the
`changelog <https://docs.python.org/3.6/whatsnew/changelog.html>`_.
.. note::

View file

@ -47,7 +47,7 @@
This article explains the new features in Python 3.7, compared to 3.6.
For full details, see the :source:`Misc/NEWS` file.
For full details, see the :ref:`changelog <changelog>`.
.. note::

View file

@ -1,3 +1,5 @@
.. _changelog:
+++++++++
Changelog
+++++++++