docs(site): add Home entry to Starlight sidebar
Generate documentation / build-docs (push) Successful in 3m26s

The sidebar previously started with 'Configuration Variables' which felt abrupt. Add a 'Home' link at the top pointing to the landing page (the one with install/functions-ref buttons). Seeded the sidebar list in build_site() so it persists across --site rebuilds.
This commit is contained in:
2026-07-27 00:12:25 -04:00
parent c770afa6c4
commit e63fd8b525
+1 -1
View File
@@ -654,7 +654,7 @@ def build_site(root: Path, out: Path) -> list[dict]:
functions = mt.parse_functions(FUNCTIONS)
entries = build_entries(functions, link=lambda n: _entry_link(n, functions))
sidebar: list[dict] = []
sidebar: list[dict] = [{"label": "Home", "link": "/"}]
functions_group: dict = {}
functions_index_target = None
functions_index_fm = None