chore: run site tools through run_cli

The image and diagram scripts accepted abbreviated options and bypassed
run_cli. The FAQ checks read faq.md only, while the questions on hashes
and checks moved to technical-faq.md.
This commit is contained in:
Abdessamad Derraz committed 2026-10-22 12:46:34 +02:00
1 parent baf38ffbee
commit 42a0498d20
4 files changed
+16 -6

No files matched your search

+5 -1
View File
@@ -779,7 +779,11 @@ class FaqRegressions(unittest.TestCase):
@staticmethod
def _faq() -> str:
return (ROOT / "wiki" / "faq.md").read_text(encoding="utf-8")
# The questions about hashes and checks moved to the technical FAQ.
return "\n\n".join(
(ROOT / "wiki" / name).read_text(encoding="utf-8")
for name in ("faq.md", "technical-faq.md")
)
@staticmethod
def _profile(key: str) -> dict: