]> granicus.if.org Git - python/commitdiff
bpo-31766: restore 3.5 to docs version switchers (#3970)
authorNed Deily <nad@python.org>
Thu, 12 Oct 2017 18:19:07 +0000 (14:19 -0400)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2017 18:19:07 +0000 (14:19 -0400)
Doc/tools/static/switchers.js
Doc/tools/templates/indexsidebar.html

index c2b342b919a28b6e42cff5d68a26eecd7e8fbab4..c450f5eafffc891f4d72e86f3881a79ee77f7b62 100644 (file)
@@ -12,6 +12,7 @@
   var all_versions = {
     '3.7': 'dev (3.7)',
     '3.6': '3.6',
+    '3.5': '3.5',
     '2.7': '2.7',
   };
 
index a3c4bc8e3a90a776be9a8bb6afd878c1a8d0f3af..c73c406426a26240f5ce6a381097bf19a26cec13 100644 (file)
@@ -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.7/">{% trans %}Python 3.7 (in development){% 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>