# HG changeset patch # User Matthias Bussonnier # Date 1486490516 28800 # Tue Feb 07 10:01:56 2017 -0800 # Node ID d6079be4bf24671af434f0f0d9b79968cc55957b # Parent 8c868b7e691a20432ab04aa20a7371e1eece410a Emit major version based canonical URLs for docs This add a "Cannonical" tag on the documentation which points to the stable url of Python version This should allow search engines to deduplicates results across multiple minor versions of Python and increase result ranking. Fix issue 26355 diff -r 8c868b7e691a -r d6079be4bf24 Doc/tools/templates/layout.html --- a/Doc/tools/templates/layout.html Thu Jan 26 16:03:33 2017 -0800 +++ b/Doc/tools/templates/layout.html Tue Feb 07 10:01:56 2017 -0800 @@ -38,7 +38,7 @@ {% endblock %} {% block extrahead %} - + {% if builder != "htmlhelp" %} {% if not embedded %}{% endif %} {% if versionswitcher is defined and not embedded %}{% endif %}