]> granicus.if.org Git - python/commitdiff
Doc: Python 3.9 in sidebar and version switcher. (GH-13824)
authorJulien Palard <julien@palard.fr>
Tue, 4 Jun 2019 23:15:33 +0000 (01:15 +0200)
committerNed Deily <nad@python.org>
Tue, 4 Jun 2019 23:15:32 +0000 (19:15 -0400)
Doc/tools/static/switchers.js
Doc/tools/templates/indexsidebar.html

index 346b31494e60f9c9b4feda5787aada66c417392f..fa298a76b0fe108c08f607ae1be4822dc939aadc 100644 (file)
@@ -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',
index 3666af92f0da47f501782839b8a5b4027e455ebb..4fd7423430ca81fff5d1659a7308477d82d4d4fd 100644 (file)
@@ -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>