Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e185757

Browse files
committed
Merge issue #26355 fix from Python 3.5
2 parents 0885076 + e662445 commit e185757

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/tools/templates/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
{% endblock %}
3939
{% block extrahead %}
4040
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
41+
<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
4142
{% if builder != "htmlhelp" %}
4243
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
4344
{% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %}

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ Alastair Burt
220220
Tarn Weisner Burton
221221
Lee Busby
222222
Katherine Busch
223+
Matthias Bussonnier
223224
Ralph Butler
224225
Laurent De Buyst
225226
Zach Byrne

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ C API
180180
Documentation
181181
-------------
182182

183+
- Issue #26355: Add canonical header link on each page to corresponding major
184+
version of the documentation. Patch by Matthias Bussonnier.
185+
183186
- Issue #29349: Fix Python 2 syntax in code for building the documentation.
184187

185188
Tests

0 commit comments

Comments
 (0)