]> granicus.if.org Git - python/commitdiff
Update Doc build for split off of 3.7 branch
authorNed Deily <nad@python.org>
Sat, 3 Feb 2018 21:31:41 +0000 (16:31 -0500)
committerNed Deily <nad@python.org>
Sat, 3 Feb 2018 21:31:41 +0000 (16:31 -0500)
Doc/tools/static/switchers.js
Doc/tools/templates/indexsidebar.html

index c450f5eafffc891f4d72e86f3881a79ee77f7b62..8e0c5ea0092a9fe53e1bdbb22f045b073ddaf91e 100644 (file)
@@ -10,7 +10,8 @@
     '(?:release/\\d.\\d[\\x\\d\\.]*)'];
 
   var all_versions = {
-    '3.7': 'dev (3.7)',
+    '3.8': 'dev (3.8)',
+    '3.7': 'pre (3.7)',
     '3.6': '3.6',
     '3.5': '3.5',
     '2.7': '2.7',
index 7ad6a076734597f4a035a58afe2b9b0839b8dee1..ddd8d75432ce1bbba510d5d97e28be2667aeabba 100644 (file)
@@ -2,7 +2,8 @@
 <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/3.7/">{% trans %}Python 3.7 (in development){% 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.5/">{% trans %}Python 3.5 (stable){% endtrans %}</a></li>
   <li><a href="https://www.python.org/doc/versions/">{% trans %}Old versions{% endtrans %}</a></li>