diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2017-02-09 15:08:17 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2017-02-09 15:08:17 (GMT) |
commit | e1857579f8aefee8e3b671af422a5e728f6f6ce0 (patch) | |
tree | 59eea53ddfbf85f410ccf4c62e83f7dd3c9c5b37 | |
parent | 088507644e0cc396a24898c6e7ecb85daf2cbe0e (diff) | |
parent | e66244521c6e5f37b2964ea5165c6ac9b854b9c7 (diff) | |
download | cpython-e1857579f8aefee8e3b671af422a5e728f6f6ce0.zip cpython-e1857579f8aefee8e3b671af422a5e728f6f6ce0.tar.gz cpython-e1857579f8aefee8e3b671af422a5e728f6f6ce0.tar.bz2 |
Merge issue #26355 fix from Python 3.5
-rw-r--r-- | Doc/tools/templates/layout.html | 1 | ||||
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html index 5c180e7..640d8b3 100644 --- a/Doc/tools/templates/layout.html +++ b/Doc/tools/templates/layout.html @@ -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 %} @@ -220,6 +220,7 @@ Alastair Burt Tarn Weisner Burton Lee Busby Katherine Busch +Matthias Bussonnier Ralph Butler Laurent De Buyst Zach Byrne @@ -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 |