From 811f65ba263140b6ba28151246b52efe149a6382 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Tue, 28 Dec 2021 02:08:54 -0500 Subject: [PATCH] bpo-41028: use generic version links in Docs index. --- Doc/tools/static/switchers.js | 5 +++-- Doc/tools/templates/indexsidebar.html | 9 +++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js index 1a1c7d0fa57e..e6949ab842dd 100644 --- a/Doc/tools/static/switchers.js +++ b/Doc/tools/static/switchers.js @@ -10,8 +10,9 @@ '(?:release/\\d.\\d[\\x\\d\\.]*)']; var all_versions = { - '3.10': 'dev (3.10)', - '3.9': 'pre (3.9)', + '3.11': 'dev (3.11)', + '3.10': '3.10', + '3.9': '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 2ef90f094dda..f7bf6d8e4911 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -2,12 +2,8 @@

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

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

@@ -18,4 +14,5 @@
  • {% trans %}Beginner's Guide{% endtrans %}
  • {% trans %}Book List{% endtrans %}
  • {% trans %}Audio/Visual Talks{% endtrans %}
  • +
  • {% trans %}Python Developer’s Guide{% endtrans %}
  • -- 2.47.3