summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-02-01 03:11:02 (GMT)
committerNed Deily <nad@python.org>2018-02-01 03:11:02 (GMT)
commit2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1 (patch)
tree05b1c8ceb2980b9732f27f567db0be0b4f71d1c3
parent43f014d3f12468edf61046f0612edc7660042fd5 (diff)
downloadcpython-2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1.zip
cpython-2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1.tar.gz
cpython-2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1.tar.bz2
Update docs template for 3.8
-rw-r--r--Doc/tools/static/version_switch.js1
-rw-r--r--Doc/tools/templates/indexsidebar.html5
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/tools/static/version_switch.js b/Doc/tools/static/version_switch.js
index e8889eb..018609e 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 b7bcd74..7c0fe00 100644
--- a/Doc/tools/templates/indexsidebar.html
+++ b/Doc/tools/templates/indexsidebar.html
@@ -2,9 +2,10 @@
<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>