Skip to content

Commit 19e3e00

Browse files
authored
Doc: Python 3.10 in sidebar and version switcher. (GH-20209)
1 parent 711f9e1 commit 19e3e00

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Doc/tools/static/switchers.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
'(?:release/\\d.\\d[\\x\\d\\.]*)'];
1111

1212
var all_versions = {
13-
'3.9': 'dev (3.9)',
13+
'3.10': 'dev (3.10)',
14+
'3.9': 'pre (3.9)',
1415
'3.8': '3.8',
1516
'3.7': '3.7',
1617
'3.6': '3.6',

Doc/tools/templates/indexsidebar.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ <h3>{% trans %}Download{% endtrans %}</h3>
22
<p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p>
33
<h3>{% trans %}Docs by version{% endtrans %}</h3>
44
<ul>
5-
<li><a href="https://docs.python.org/3.9/">{% trans %}Python 3.9 (in development){% endtrans %}</a></li>
5+
<li><a href="https://docs.python.org/3.10/">{% trans %}Python 3.10 (in development){% endtrans %}</a></li>
6+
<li><a href="https://docs.python.org/3.9/">{% trans %}Python 3.9 (pre-release){% endtrans %}</a></li>
67
<li><a href="https://docs.python.org/3.8/">{% trans %}Python 3.8 (stable){% endtrans %}</a></li>
78
<li><a href="https://docs.python.org/3.7/">{% trans %}Python 3.7 (stable){% endtrans %}</a></li>
89
<li><a href="https://docs.python.org/3.6/">{% trans %}Python 3.6 (security-fixes){% endtrans %}</a></li>

0 commit comments

Comments
 (0)