From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 19 May 2020 12:32:30 +0000 (-0700) Subject: [3.7] Doc: Python 3.10 in sidebar and version switcher. (GH-20209) (GH-20223) X-Git-Tag: v3.7.8rc1~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=547d0bbf4a154f31fb0d6ad2c2d9bb5ae9b18b32;p=thirdparty%2FPython%2Fcpython.git [3.7] Doc: Python 3.10 in sidebar and version switcher. (GH-20209) (GH-20223) (cherry picked from commit 19e3e0026417caa92ffe21a67157363b45da9aa2) Co-authored-by: Julien Palard Automerge-Triggered-By: @JulienPalard --- diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js index e1ef91a8dfc6..c51f178ce645 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.9': 'dev (3.9)', + '3.10': 'dev (3.10)', + '3.9': 'pre (3.9)', '3.8': '3.8', '3.7': '3.7', '3.6': '3.6', diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html index 36f94ee03837..c5924fd5774c 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -2,7 +2,8 @@

{% trans %}Download these documents{% endtrans %}

{% trans %}Docs by version{% endtrans %}