feat(sources): admin page to add and remove git sources (TODO.md L4)

This commit is contained in:
2026-08-26 18:42:28 -04:00
parent b2d8696741
commit 1925bb66a8
30 changed files with 2673 additions and 110 deletions
+5 -1
View File
@@ -111,7 +111,10 @@ def asset_version(static_dir: str | None = None) -> str:
# Response-layer cache busting (task 02)
# ---------------------------------------------------------------------------
#: The five known HTML pages — the ONLY paths whose body is rewritten.
#: The known HTML pages — the ONLY paths whose body is rewritten.
#: Phase 35 adds the admin git sources page: without this entry it
#: would serve unversioned asset refs, which the immutable-for-a-year
#: asset caching would pin to stale CSS after a deploy.
HTML_PAGES: tuple[str, ...] = (
"/",
"/index.html",
@@ -119,6 +122,7 @@ HTML_PAGES: tuple[str, ...] = (
"/document.html",
"/login.html",
"/tuning.html",
"/git-sources.html", # phase 35: the admin git sources page
)
#: Prefix of the versioned static assets (header-only caching; the body is