[Python-checkins] Update docs template for 3.8

Ned Deily webhook-mailer at python.org
Wed Jan 31 22:12:54 EST 2018


https://github.com/python/cpython/commit/2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1
commit: 2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1
branch: 3.5
author: Ned Deily <nad at python.org>
committer: Ned Deily <nad at python.org>
date: 2018-01-31T22:11:02-05:00
summary:

Update docs template for 3.8

files:
M Doc/tools/static/version_switch.js
M Doc/tools/templates/indexsidebar.html

diff --git a/Doc/tools/static/version_switch.js b/Doc/tools/static/version_switch.js
index e8889ebfc41e..018609e926c1 100644
--- a/Doc/tools/static/version_switch.js
+++ b/Doc/tools/static/version_switch.js
@@ -2,6 +2,7 @@
   'use strict';
 
   var all_versions = {
+    '3.8': 'dev (3.8)',
     '3.7': 'dev (3.7)',
     '3.6': '3.6',
     '3.5': '3.5',
diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html
index b7bcd74c787e..7c0fe00655e4 100644
--- a/Doc/tools/templates/indexsidebar.html
+++ b/Doc/tools/templates/indexsidebar.html
@@ -2,9 +2,10 @@ <h3>{% trans %}Download{% endtrans %}</h3>
 <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.8/">{% trans %}Python 3.8 (in development){% endtrans %}</a></li>
+  <li><a href="https://docs.python.org/3.7/">{% trans %}Python 3.7 (pre-release){% 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.7/">{% trans %}Python 3.7 (in development){% 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>
 



More information about the Python-checkins mailing list