fix: print installer page samples from install.py

The dry run, the Batocera walkthrough and the narrowing line of
wiki/installer.md were typed by hand and went stale with each list.
generate_installer_doc.py now runs install.py against the committed
lists in a sandbox, dated by each list, and the pipeline runs it at
step 7.
This commit is contained in:
Abdessamad Derraz committed 2026-10-28 16:22:04 +01:00
1 parent 27b945ba4c
commit c1a02ef24f
5 files changed
+399 -98

No files matched your search

+6
View File
@@ -24,6 +24,7 @@ Steps, numbered as the run prints them:
5 consistency check verify == pack: counts, paths, every emulator pack
6 --verify-packs pack integrity, extraction and hashes
7 generate_readme.py README.md and CONTRIBUTING.md
generate_installer_doc.py run samples and tables of wiki/installer.md
8 generate_site.py site pages, into the Starlight project in website/
8b npm run build (website/) rendered as the site deploy renders it, then validate_site.py
@@ -1106,6 +1107,11 @@ def main() -> None:
],
STEP_LABELS["generate_readme"],
)
# The run samples of wiki/installer.md, printed by install.py from
# the manifests step 4b just wrote.
doc_ok, _ = run([sys.executable, "scripts/generate_installer_doc.py"],
"7 generate installer page")
ok = ok and doc_ok
results["generate_readme"] = ok
all_ok = all_ok and ok
else: