Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Merge issue #26355 fix from Python 3.5
Browse files Browse the repository at this point in the history
--HG--
branch : 3.6
  • Loading branch information
ncoghlan committed Feb 9, 2017
2 parents 6be5d0c + b64b884 commit 378a8d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Doc/tools/templates/layout.html
Expand Up @@ -38,6 +38,7 @@
{% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
{% 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 %}
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Expand Up @@ -220,6 +220,7 @@ Alastair Burt
Tarn Weisner Burton
Lee Busby
Katherine Busch
Matthias Bussonnier
Ralph Butler
Laurent De Buyst
Zach Byrne
Expand Down
3 changes: 3 additions & 0 deletions Misc/NEWS
Expand Up @@ -180,6 +180,9 @@ C API
Documentation
-------------

- Issue #26355: Add canonical header link on each page to corresponding major
version of the documentation. Patch by Matthias Bussonnier.

- Issue #29349: Fix Python 2 syntax in code for building the documentation.

Tests
Expand Down

0 comments on commit 378a8d9

Please sign in to comment.