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

+1 -1
View File
@@ -1,4 +1,4 @@
"""Merging and writing the MAME clone map _mame_clones.json."""
"""Merging and writing the MAME clone map mame_clones.json."""
from __future__ import annotations
+1 -1
View File
@@ -18,7 +18,7 @@ def database_record(files: dict, indexes: dict, bios_dir: str) -> dict:
"generated_at": datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"),
"total_files": len(files),
"total_size": sum(entry["size"] for entry in files.values()),
# The tree these paths belong to: dedup writes _mame_clones.json
# The tree these paths belong to: dedup writes mame_clones.json
# beside it, and the resolver reads the map there, not at the repo root.
"bios_dir": os.path.normpath(bios_dir),
"files": files,