Update Doc build for split off of 3.7 branch

This commit is contained in:
Ned Deily 2018-01-31 18:24:44 -05:00
parent 70e304252a
commit 7f38637853
3 changed files with 4 additions and 2 deletions

View File

@ -35,7 +35,7 @@ import suspicious
ISSUE_URI = 'https://bugs.python.org/issue%s' ISSUE_URI = 'https://bugs.python.org/issue%s'
SOURCE_URI = 'https://github.com/python/cpython/tree/master/%s' SOURCE_URI = 'https://github.com/python/cpython/tree/3.7/%s'
# monkey-patch reST parser to disable alphabetic and roman enumerated lists # monkey-patch reST parser to disable alphabetic and roman enumerated lists
from docutils.parsers.rst.states import Body from docutils.parsers.rst.states import Body

View File

@ -10,7 +10,8 @@
'(?:release/\\d.\\d[\\x\\d\\.]*)']; '(?:release/\\d.\\d[\\x\\d\\.]*)'];
var all_versions = { var all_versions = {
'3.7': 'dev (3.7)', '3.8': 'dev (3.8)',
'3.7': 'pre (3.7)',
'3.6': '3.6', '3.6': '3.6',
'3.5': '3.5', '3.5': '3.5',
'2.7': '2.7', '2.7': '2.7',

View File

@ -2,6 +2,7 @@
<p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p> <p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p>
<h3>{% trans %}Docs for other versions{% endtrans %}</h3> <h3>{% trans %}Docs for other versions{% endtrans %}</h3>
<ul> <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.6/">{% trans %}Python 3.6 (stable){% 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://docs.python.org/3.5/">{% trans %}Python 3.5 (stable){% endtrans %}</a></li>
<li><a href="https://docs.python.org/2.7/">{% trans %}Python 2.7 (stable){% endtrans %}</a></li> <li><a href="https://docs.python.org/2.7/">{% trans %}Python 2.7 (stable){% endtrans %}</a></li>