feat(docs): Starlight asides and file-tree conversions (site-build-only) #78

Merged
rootiest merged 8 commits from starlight-asides-and-filetree into main 2026-07-27 01:39:34 +00:00
Showing only changes of commit 6ac647e0c1 - Show all commits
+7 -4
View File
@@ -670,11 +670,14 @@ def test_prettify_is_site_only():
import build_manual
manual = Path(__file__).parent / "manual"
forbidden = ("```", "<Aside", "<FileTree", ":::")
for path in manual.rglob("*.md"):
assert "```" not in path.read_text(), (
f"{path.name} contains a fence: prettify must run at site-build "
"time, never be written back to the SSOT"
)
text = path.read_text()
for marker in forbidden:
assert marker not in text, (
f"{path.name} contains {marker!r}: prettify must run at "
"site-build time, never be written back to the SSOT"
)
def test_sidebar_has_no_duplicate_functions_entry():