mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-28 20:38:52 -06:00
fix: keep the wanted page copy in the house style
This commit is contained in:
1 parent
811fda5673
commit
fda0806bad
4 files changed
+5
-4
No files matched your search
@@ -57,6 +57,7 @@ on:
|
|||||||
- "scripts/site_markdown.py"
|
- "scripts/site_markdown.py"
|
||||||
- "scripts/sitebootstrap.py"
|
- "scripts/sitebootstrap.py"
|
||||||
- "scripts/sitehandheld.py"
|
- "scripts/sitehandheld.py"
|
||||||
|
- "scripts/sitewanted.py"
|
||||||
- "scripts/sitecollection.py"
|
- "scripts/sitecollection.py"
|
||||||
- "scripts/sitediagrams.py"
|
- "scripts/sitediagrams.py"
|
||||||
- "scripts/siteentries.py"
|
- "scripts/siteentries.py"
|
||||||
|
|||||||
@@ -857,7 +857,7 @@ def contributing_text(
|
|||||||
Have a file the collection lacks? Add it from the browser. It is checked on arrival.
|
Have a file the collection lacks? Add it from the browser. It is checked on arrival.
|
||||||
|
|
||||||
Not sure? Drop it on [the wanted page]({link("wanted")}). It reads the file on
|
Not sure? Drop it on [the wanted page]({link("wanted")}). It reads the file on
|
||||||
your device, says if it is wanted, and opens the upload in the right folder.
|
the device, says if it is wanted, and opens the upload in the right folder.
|
||||||
|
|
||||||
[Upload it into `bios/`]({UPLOAD_URL}), 25 MB at most per file. GitHub
|
[Upload it into `bios/`]({UPLOAD_URL}), 25 MB at most per file. GitHub
|
||||||
writes it to a fork and opens the pull request.
|
writes it to a fork and opens the pull request.
|
||||||
|
|||||||
@@ -2538,7 +2538,7 @@ def _page_description(markdown: str, relative: Path, title: str) -> str:
|
|||||||
"explore.md": "Systems, emulators and installer options to explore, with the figures of the BIOS collection.",
|
"explore.md": "Systems, emulators and installer options to explore, with the figures of the BIOS collection.",
|
||||||
"which-pack.md": "Pick a device or setup and get its BIOS files: the folder they go in, one command that installs and checks them, or a ZIP pack to extract.",
|
"which-pack.md": "Pick a device or setup and get its BIOS files: the folder they go in, one command that installs and checks them, or a ZIP pack to extract.",
|
||||||
"contributing.md": "Add a BIOS file the collection lacks from the browser, checked on arrival, or add a platform or an emulator profile.",
|
"contributing.md": "Add a BIOS file the collection lacks from the browser, checked on arrival, or add a platform or an emulator profile.",
|
||||||
"wanted.md": "Drop files on the page to learn if the collection wants them, then upload a wanted one to its folder on GitHub. Files are read on your device.",
|
"wanted.md": "Drop files on the page to learn if the collection wants them, then upload a wanted one to its folder on GitHub. Files are read on the device.",
|
||||||
}
|
}
|
||||||
if key in specific:
|
if key in specific:
|
||||||
return specific[key]
|
return specific[key]
|
||||||
|
|||||||
@@ -168,8 +168,8 @@ def wanted_declarations(profiles: dict, coverages: dict, gap_report: dict) -> li
|
|||||||
def _settle_cut(records: list[dict]) -> None:
|
def _settle_cut(records: list[dict]) -> None:
|
||||||
"""A cut md5 names a dump only if exactly one md5 starts with it.
|
"""A cut md5 names a dump only if exactly one md5 starts with it.
|
||||||
|
|
||||||
Matched against the wanted md5s: one of them, and the cut is that md5;
|
Matched against the wanted md5s: with one match the cut is that md5.
|
||||||
several, and it names none; none, and the page compares by prefix.
|
With several it names none, and with none the page compares by prefix.
|
||||||
"""
|
"""
|
||||||
full = {v for r in records for v in r["hashes"].get("md5", []) if len(v) == 32}
|
full = {v for r in records for v in r["hashes"].get("md5", []) if len(v) == 32}
|
||||||
for record in records:
|
for record in records:
|
||||||
|
|||||||
Reference in new issue
Block a user