Skip to content

Commit

Permalink
Doc: Python 3.9 in sidebar and version switcher. (GH-13824) (GH-13827)
Browse files Browse the repository at this point in the history
(cherry picked from commit 59e7bbc)

Co-authored-by: Julien Palard <julien@palard.fr>
  • Loading branch information
2 people authored and ned-deily committed Jun 4, 2019
1 parent fd1771d commit dffc558
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Doc/tools/static/switchers.js
Expand Up @@ -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',
Expand Down
3 changes: 2 additions & 1 deletion Doc/tools/templates/indexsidebar.html
Expand Up @@ -2,7 +2,8 @@ <h3>{% trans %}Download{% endtrans %}</h3>
<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>
Expand Down

0 comments on commit dffc558

Please sign in to comment.