refactor: tidy the repository root

README.md and CONTRIBUTING.md open with a comment naming their
generator, generate_readme.py --check fails on a hand edit in
validate.yml and pr_checks.py, and .gitattributes marks the pipeline
outputs as generated, held equal to core/generated.py by a test.

_mame_clones.json becomes mame_clones.json, still written beside the
scanned bios/ tree, and now triggers both workflows (coverage reads it).
docs_assets/ moves to website/assets/, which Astro does not read as
content. ACCESSIBILITY.md becomes wiki/accessibility.md, linked from the
README and the installer page. The screenshot list moves to
wiki/images-wanted.md: nothing read docs_assets/screens/.

The architecture map names every root entry (test_repository_map),
platforms/README.md keeps only what this folder holds, the reference
index lists archive-recipes and measurements, and reference-terms no
longer defines Profile twice nor repeats the glossary's Pack.
This commit is contained in:
Abdessamad Derraz committed 2026-11-24 10:40:25 +01:00
1 parent 5e306ec19f
commit ab7e300c19
283 files changed
+410 -193

No files matched your search

+2 -2
View File
@@ -598,10 +598,10 @@ class EachManufacturerHasItsCard(unittest.TestCase):
def test_every_manufacturer_page_has_a_committed_card(self) -> None:
cards = ogcards.system_cards()
missing = [key for key in cards
if not (REPO_ROOT / "docs_assets" / "og" / f"{key}.png").is_file()]
if not (REPO_ROOT / "website" / "assets" / "og" / f"{key}.png").is_file()]
self.assertEqual(missing, [], "run python scripts/make_og_cards.py --only systems")
# A card left behind by a page that went: oric.png outlived its page.
committed = (REPO_ROOT / "docs_assets" / "og" / "systems").glob("*.png")
committed = (REPO_ROOT / "website" / "assets" / "og" / "systems").glob("*.png")
stale = sorted(f"systems/{path.stem}" for path in committed
if f"systems/{path.stem}" not in cards)
self.assertEqual(stale, [])