summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2019-06-04 23:15:33 (GMT)
committerNed Deily <nad@python.org>2019-06-04 23:15:32 (GMT)
commit59e7bbcaa4d0d556591f774c5ea4869c41fa95b0 (patch)
treecbb13fdb383eb184a37b25ec88dbe3ed0cbb500c /Doc/tools
parent19a1e1eb86115db66c1faae5927f87e3a12692fc (diff)
downloadcpython-59e7bbcaa4d0d556591f774c5ea4869c41fa95b0.zip
cpython-59e7bbcaa4d0d556591f774c5ea4869c41fa95b0.tar.gz
cpython-59e7bbcaa4d0d556591f774c5ea4869c41fa95b0.tar.bz2
Doc: Python 3.9 in sidebar and version switcher. (GH-13824)
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/static/switchers.js3
-rw-r--r--Doc/tools/templates/indexsidebar.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js
index 346b314..fa298a7 100644
--- a/Doc/tools/static/switchers.js
+++ b/Doc/tools/static/switchers.js
@@ -10,7 +10,8 @@
'(?:release/\\d.\\d[\\x\\d\\.]*)'];
var all_versions = {
- '3.8': 'dev (3.8)',
+ '3.9': 'dev (3.9)',
+ '3.8': 'pre (3.8)',
'3.7': '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 3666af9..4fd7423 100644
--- a/Doc/tools/templates/indexsidebar.html
+++ b/Doc/tools/templates/indexsidebar.html
@@ -2,7 +2,8 @@
<p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p>
<h3>{% trans %}Docs by version{% endtrans %}</h3>
<ul>
- <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.9/">{% trans %}Python 3.9 (in development){% endtrans %}</a></li>
+ <li><a href="https://docs.python.org/3.8/">{% trans %}Python 3.8 (pre-release){% endtrans %}</a></li>
<li><a href="https://docs.python.org/3.7/">{% trans %}Python 3.7 (stable){% endtrans %}</a></li>
<li><a href="https://docs.python.org/3.6/">{% trans %}Python 3.6 (security-fixes){% endtrans %}</a></li>
<li><a href="https://docs.python.org/3.5/">{% trans %}Python 3.5 (security-fixes){% endtrans %}</a></li>