diff options
| author | Ned Deily <nad@python.org> | 2018-01-31 22:11:02 -0500 |
|---|---|---|
| committer | Ned Deily <nad@python.org> | 2018-01-31 22:11:02 -0500 |
| commit | 2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1 (patch) | |
| tree | 05b1c8ceb2980b9732f27f567db0be0b4f71d1c3 | |
| parent | 43f014d3f12468edf61046f0612edc7660042fd5 (diff) | |
| download | cpython-git-2fc65c648ea39e5fe6ced8ad229d7a445bf2a7d1.tar.gz | |
Update docs template for 3.8
| -rw-r--r-- | Doc/tools/static/version_switch.js | 1 | ||||
| -rw-r--r-- | Doc/tools/templates/indexsidebar.html | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/tools/static/version_switch.js b/Doc/tools/static/version_switch.js index e8889ebfc4..018609e926 100644 --- a/Doc/tools/static/version_switch.js +++ b/Doc/tools/static/version_switch.js @@ -2,6 +2,7 @@ 'use strict'; var all_versions = { + '3.8': 'dev (3.8)', '3.7': 'dev (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 b7bcd74c78..7c0fe00655 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -2,9 +2,10 @@ <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/2.7/">{% trans %}Python 2.7 (stable){% 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.7/">{% trans %}Python 3.7 (in development){% endtrans %}</a></li> + <li><a href="https://docs.python.org/2.7/">{% trans %}Python 2.7 (stable){% endtrans %}</a></li> <li><a href="https://www.python.org/doc/versions/">{% trans %}Old versions{% endtrans %}</a></li> </ul> |
