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
@@ -26,13 +26,13 @@ on:
|
||||
# Every input of the site build, so a page that would fail the deploy
|
||||
# fails here first (tests/test_workflow_paths.py).
|
||||
- "wiki/**"
|
||||
- "docs_assets/**"
|
||||
- "provenance/**"
|
||||
- "exports/**"
|
||||
- "install/**"
|
||||
- "database.json"
|
||||
- "release.json"
|
||||
- "derivable.json"
|
||||
- "mame_clones.json"
|
||||
- "retired.json"
|
||||
- "recipes/**"
|
||||
- "measurements/**"
|
||||
@@ -40,6 +40,9 @@ on:
|
||||
- "website/**"
|
||||
# The type check's and the lint's configuration.
|
||||
- "pyproject.toml"
|
||||
# Generated files: a hand edit fails the regeneration check.
|
||||
- "README.md"
|
||||
- "CONTRIBUTING.md"
|
||||
# Spelled out twice because the workflow parser reads no YAML anchor. A test
|
||||
# holds the two lists equal.
|
||||
push:
|
||||
@@ -58,19 +61,21 @@ on:
|
||||
- "ports/**"
|
||||
- "packaging/**"
|
||||
- "wiki/**"
|
||||
- "docs_assets/**"
|
||||
- "provenance/**"
|
||||
- "exports/**"
|
||||
- "install/**"
|
||||
- "database.json"
|
||||
- "release.json"
|
||||
- "derivable.json"
|
||||
- "mame_clones.json"
|
||||
- "retired.json"
|
||||
- "recipes/**"
|
||||
- "measurements/**"
|
||||
- "campaign/**"
|
||||
- "website/**"
|
||||
- "pyproject.toml"
|
||||
- "README.md"
|
||||
- "CONTRIBUTING.md"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -197,6 +202,15 @@ jobs:
|
||||
- name: Check that install.py is the one installer/ builds
|
||||
run: python scripts/build_installer.py --check
|
||||
|
||||
# README.md and CONTRIBUTING.md are written by scripts/sitegen/readme.py.
|
||||
# Deploy Site compared them only after the merge, and only when another
|
||||
# path triggered it: a hand edit to either file reached main unchecked.
|
||||
# Offline, the contributors section is read back from the file.
|
||||
- name: Check that README and CONTRIBUTING are the generated ones
|
||||
env:
|
||||
RETROBIOS_OFFLINE: "1"
|
||||
run: python scripts/generate_readme.py --db database.json --platforms-dir platforms --check
|
||||
|
||||
# A profile written from a clone can cite lines that do not hold the value
|
||||
# it declares, and schemas and tests pass it. Each profile a change adds is
|
||||
# confronted with its upstream, both roads into main. An edited profile is
|
||||
|
||||
Reference in new issue
Block a user