summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-10-12 18:08:43 (GMT)
committerGitHub <noreply@github.com>2017-10-12 18:08:43 (GMT)
commitb7cbfe49e39a7bbd7da20b937735a8a60bbf1872 (patch)
tree8b54f2b8f6cf6c2cff4c8ce7b9f26e6a115d9a2f /Doc/tools
parent03b9537dc515d10528f83c920d38910b95755aff (diff)
downloadcpython-b7cbfe49e39a7bbd7da20b937735a8a60bbf1872.zip
cpython-b7cbfe49e39a7bbd7da20b937735a8a60bbf1872.tar.gz
cpython-b7cbfe49e39a7bbd7da20b937735a8a60bbf1872.tar.bz2
bpo-31766: restore 3.5 to docs version switchers (#3969)
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/static/switchers.js1
-rw-r--r--Doc/tools/templates/indexsidebar.html3
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js
index c2b342b..c450f5e 100644
--- a/Doc/tools/static/switchers.js
+++ b/Doc/tools/static/switchers.js
@@ -12,6 +12,7 @@
var all_versions = {
'3.7': 'dev (3.7)',
'3.6': '3.6',
+ '3.5': '3.5',
'2.7': '2.7',
};
diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html
index 4d01842..9fa814f 100644
--- a/Doc/tools/templates/indexsidebar.html
+++ b/Doc/tools/templates/indexsidebar.html
@@ -2,8 +2,9 @@
<p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p>
<h3>{% trans %}Docs for other versions{% endtrans %}</h3>
<ul>
- <li><a href="https://docs.python.org/2.7/">{% trans %}Python 2.7 (stable){% endtrans %}</a></li>
<li><a href="https://docs.python.org/3.6/">{% trans %}Python 3.6 (stable){% endtrans %}</a></li>
+ <li><a href="https://docs.python.org/3.5/">{% trans %}Python 3.5 (stable){% endtrans %}</a></li>
+ <li><a href="https://docs.python.org/2.7/">{% trans %}Python 2.7 (stable){% endtrans %}</a></li>
<li><a href="https://www.python.org/doc/versions/">{% trans %}Old versions{% endtrans %}</a></li>
</ul>