mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 06:18:51 -06:00
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:
1 parent
5e306ec19f
commit
ab7e300c19
283 files changed
+410
-193
No files matched your search
@@ -161,7 +161,7 @@ _mame_clone_map_cache: dict[str, dict[str, str]] = {}
|
||||
|
||||
|
||||
class CloneMapUnreadable(SourceUnreadable):
|
||||
"""_mame_clones.json exists but is not a JSON object."""
|
||||
"""mame_clones.json exists but is not a JSON object."""
|
||||
|
||||
|
||||
def clone_map_path(bios_dir: str) -> str:
|
||||
@@ -171,7 +171,7 @@ def clone_map_path(bios_dir: str) -> str:
|
||||
relative to the working directory let a scan of a fixture tree rewrite
|
||||
the repository's own map.
|
||||
"""
|
||||
return os.path.join(os.path.dirname(os.path.abspath(bios_dir)), "_mame_clones.json")
|
||||
return os.path.join(os.path.dirname(os.path.abspath(bios_dir)), "mame_clones.json")
|
||||
|
||||
|
||||
def read_clone_map(clone_path: str) -> dict:
|
||||
@@ -195,7 +195,7 @@ def read_clone_map(clone_path: str) -> dict:
|
||||
def get_mame_clone_map(bios_dir: str | None = None) -> dict[str, str]:
|
||||
"""The MAME clone map (clone_name -> canonical_name) of a scanned tree.
|
||||
|
||||
dedup.py writes _mame_clones.json beside the tree it scanned, and the
|
||||
dedup.py writes mame_clones.json beside the tree it scanned, and the
|
||||
map of one tree says nothing about another: read from the repository
|
||||
root whatever ``--bios-dir`` said, an alternate tree's renamed clones
|
||||
fell out of its packs. Without a tree the repository's own is read.
|
||||
|
||||
Reference in new issue
Block a user