docs(site): add Home entry to Starlight sidebar
Generate documentation / build-docs (push) Successful in 3m26s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user