[Python-checkins] Update Doc build for split off of 3.7 branch
Ned Deily
webhook-mailer at python.org
Sat Feb 3 16:33:51 EST 2018
https://github.com/python/cpython/commit/2357cd71b0a58e51b873a5322e83053f3dbac38d
commit: 2357cd71b0a58e51b873a5322e83053f3dbac38d
branch: 2.7
author: Ned Deily <nad at python.org>
committer: Ned Deily <nad at python.org>
date: 2018-02-03T16:31:41-05:00
summary:
Update Doc build for split off of 3.7 branch
files:
M Doc/tools/static/switchers.js
M Doc/tools/templates/indexsidebar.html
diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js
index c450f5eafffc..8e0c5ea0092a 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.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',
diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html
index 7ad6a0767345..ddd8d75432ce 100644
--- a/Doc/tools/templates/indexsidebar.html
+++ b/Doc/tools/templates/indexsidebar.html
@@ -2,7 +2,8 @@ <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/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>
More information about the Python-checkins
mailing list