[Python-checkins] bpo-31766: restore 3.5 to docs version switchers (#3971)
Ned Deily
webhook-mailer at python.org
Thu Oct 12 14:24:26 EDT 2017
https://github.com/python/cpython/commit/356b68023d6fee5e30d25a4a680ac5b9e4f8dd65
commit: 356b68023d6fee5e30d25a4a680ac5b9e4f8dd65
branch: 2.7
author: Ned Deily <nad at python.org>
committer: GitHub <noreply at github.com>
date: 2017年10月12日T14:24:23-04:00
summary:
bpo-31766: restore 3.5 to docs version switchers (#3971)
files:
M Doc/tools/static/switchers.js
M Doc/tools/templates/indexsidebar.html
diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js
index c2b342b919a..c450f5eafff 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 847a2eddc2e..7ad6a076734 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/3.6/">{% trans %}Python 3.6 (stable){% endtrans %}</a></li>
<li><a href="https://docs.python.org/3.7/">{% trans %}Python 3.7 (in development){% 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://www.python.org/doc/versions/">{% trans %}Old versions{% endtrans %}</a></li>
</ul>
More information about the Python-checkins
mailing list