From 4b8c9da7e8fbc8f63174f063ecd64d01f776baf8 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 28 Oct 2026 08:05:09 +0000
Subject: [PATCH 1/5] Add Get help navigation link
Co-authored-by: m-aciek <9288014+m-aciek@users.noreply.github.com>
---
templates/base.html.jinja | 20 ++++++++++++++++++++
tests/test_index.py | 9 +++++++++
2 files changed, 29 insertions(+)
diff --git a/templates/base.html.jinja b/templates/base.html.jinja
index 5ab887e04..c23877466 100644
--- a/templates/base.html.jinja
+++ b/templates/base.html.jinja
@@ -88,6 +88,26 @@
Translating
+
',
+ index,
+ )
+ self.assertIn(' Get help\n', index)
+ self.assertIn('class="bi bi-box-arrow-up-right"', index)
def test_orders_by_completion_score(self):
env = Environment(loader=FileSystemLoader('templates'))
From 93c0644ea1157e36f4d87e87b5b98f4acf01e7c2 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 28 Oct 2026 10:16:06 +0000
Subject: [PATCH 2/5] Move external-link icons after labels
Co-authored-by: m-aciek <9288014+m-aciek@users.noreply.github.com>
---
templates/base.html.jinja | 12 ++++++------
tests/test_index.py | 18 ++++++++++++++++--
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/templates/base.html.jinja b/templates/base.html.jinja
index c23877466..fa93430ed 100644
--- a/templates/base.html.jinja
+++ b/templates/base.html.jinja
@@ -74,9 +74,10 @@
+ Translating
- Translating
@@ -93,9 +93,10 @@
href="https://discuss.python.org/c/documentation/translations/"
target="_blank"
rel="noopener noreferrer">
+ Get help
- Get help
diff --git a/tests/test_index.py b/tests/test_index.py
index dfa95230e..1d6a78d44 100644
--- a/tests/test_index.py
+++ b/tests/test_index.py
@@ -42,8 +42,22 @@ def test_renders(self):
' rel="noopener noreferrer">',
index,
)
- self.assertIn(' Get help\n', index)
- self.assertIn('class="bi bi-box-arrow-up-right"', index)
+ for href, label in (
+ (
+ 'https://devguide.python.org/documentation/translations/translating/',
+ 'Translating',
+ ),
+ (
+ 'https://discuss.python.org/c/documentation/translations/',
+ 'Get help',
+ ),
+ ):
+ link = index[index.index(href):index.index('', index.index(href))]
+ self.assertLess(
+ link.index(label), link.index('class="bi bi-box-arrow-up-right"')
+ )
+ self.assertIn('width="14"', link)
+ self.assertIn('height="14"', link)
def test_orders_by_completion_score(self):
env = Environment(loader=FileSystemLoader('templates'))
From 801aac44f5adb2593ac716609fd49c0b0cd1b723 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 28 Oct 2026 16:13:09 +0000
Subject: [PATCH 3/5] Shrink external-link icons and format test
Co-authored-by: m-aciek <9288014+m-aciek@users.noreply.github.com>
---
templates/base.html.jinja | 8 ++++----
tests/test_index.py | 24 ++++++++++++++----------
2 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/templates/base.html.jinja b/templates/base.html.jinja
index fa93430ed..d01a89cbe 100644
--- a/templates/base.html.jinja
+++ b/templates/base.html.jinja
@@ -76,8 +76,8 @@
target="_blank">
Translating