feat: platform logos and emulator letter sections

The decoration pass now forwards the logo front matter, pointed at the
local copy. The emulators index lists every profile under the initial
the sidebar draws, so each letter link lands on its section.
This commit is contained in:
Abdessamad Derraz committed 2026-10-23 07:02:40 +02:00
1 parent e86defdb1e
commit a9181f9d04
6 files changed
+65 -46

No files matched your search

+3
View File
@@ -406,6 +406,7 @@ def finalize_page(
structured: dict,
terms: dict[str, str],
search: bool = True,
logo: str = "",
) -> tuple[str, str]:
"""The Starlight file for a page body: its path under the content
collection and its text."""
@@ -446,6 +447,8 @@ def finalize_page(
front["slug"] = stem
if level:
front["level"] = level
if logo:
front["logo"] = logo
if weight:
front["searchWeight"] = weight
if rel == NOT_FOUND: