From 9d1a372c2a1225bf7e2be8ff8b71522127e79357 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 23 Nov 2026 05:57:46 -0500 Subject: [PATCH] fix(docs): restore Splide screenshot carousel markup Restore the Splide carousel markup in README.mkdocs.j2 so image pages render a full-width slide carousel again instead of the thumbnail strip. Drop the manual outer glightbox anchor so Zensical's native auto GLightbox wraps each image once without producing invalid nested anchors. --- dbuild/templates/README.mkdocs.j2 | 14 +++++++++----- tests/test_docs.py | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/dbuild/templates/README.mkdocs.j2 b/dbuild/templates/README.mkdocs.j2 index ede2b6d..abd6a52 100644 --- a/dbuild/templates/README.mkdocs.j2 +++ b/dbuild/templates/README.mkdocs.j2 @@ -181,13 +181,17 @@ description: "{{ description }} Built natively for FreeBSD with PUID/PGID suppor {% block screenshots %} {% if screenshots %} -
+
+ {% endif %} {% endblock %} diff --git a/tests/test_docs.py b/tests/test_docs.py index 2087040..82b50af 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -1410,7 +1410,7 @@ def test_operator_first_order_and_fjord_default_tab(self): # Zero @PLACEHOLDER@ tokens on site output self.assertEqual(_re.findall(r"@[A-Z][A-Z0-9_]+@", site), []) - self.assertIn('class="screenshot-strip"', site) + self.assertIn('class="splide screenshot-carousel"', site) self.assertIn('class="deploy-customizer"', site) self.assertIn("## Deployment { #deployment data-search-exclude }", site) self.assertIn("## Version Tags { #version-tags data-search-exclude }", site)