docs: no double hyphen used as a dash

The home page's methodology list and a few comments wrote ' -- ' where a colon or parentheses belong.
This commit is contained in:
Abdessamad Derraz committed 2026-10-20 06:23:02 +02:00
1 parent 8b203e397c
commit f6ac473e78
5 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -2205,7 +2205,7 @@ def resolve_platform_cores(
Resolution strategies (by priority):
1. cores: "all_libretro" -- all profiles with libretro in type
2. cores: [list] -- profiles whose dict key matches a core name
3. cores: absent -- fallback to systems intersection
3. cores: absent, fallback to systems intersection
Alias profiles are always excluded (they point to another profile).
If target_cores is provided, result is intersected with it.
+7 -7
View File
@@ -361,7 +361,7 @@ def generate_home(
]
)
# Quick start (collapsible -- secondary info)
# Quick start, collapsed: secondary information
lines.extend(
[
"",
@@ -398,11 +398,11 @@ def generate_home(
"Documentation and metadata can drift from actual runtime behavior, "
"so the source is the primary reference.",
"",
" 1. **Upstream emulator source** -- what the original project "
" 1. **Upstream emulator source**: what the original project "
"loads (Dolphin, PCSX2, Mednafen...)",
" 2. **Libretro core source** -- the RetroArch port, which may "
" 2. **Libretro core source**: the RetroArch port, which may "
"adapt paths or add files",
" 3. **`.info` declarations** -- metadata that platforms rely on, "
" 3. **`.info` declarations**: metadata that platforms rely on, "
"checked for accuracy",
"",
]
@@ -3511,9 +3511,9 @@ def generate_gap_analysis(
provenance (from cross_reference) into a single truth dashboard.
Sections:
1. Verification status -- aggregated across all platforms
2. Problem files -- missing, untested, hash mismatch
3. Core complement -- emulator files not declared by any platform
1. Verification status, aggregated across all platforms
2. Problem files: missing, untested, hash mismatch
3. Core complement: emulator files not declared by any platform
"""
from common import resolve_platform_cores
+1 -1
View File
@@ -1186,7 +1186,7 @@ def verify_at_pin(
return PartResult(part, "ANCHORED", None, None, None, [])
# A ref that cites loading logic never spells the value out, so its absence
# here proves nothing. Only finding the value somewhere else in the file
# shows the ref points at the wrong place -- and only a hash carries that
# shows the ref points at the wrong place, and only a hash carries that
# weight. A filename fragment matches by coincidence: `tyrian2` hits every
# line naming `tyrian2.c`, and a name built at runtime from a format
# string appears nowhere at all.
+2 -2
View File
@@ -20,8 +20,8 @@ is reported undecidable and every candidate is kept: picking one would be the
arbitrary selection this exists to remove.
The scale is only meaningful inside one emulator's candidate set. When two
profiles rank the same file differently -- pcsx1 walks scph1001 first while
DuckStation prefers scph5501 -- the pack serves both cores, so neither order
profiles rank the same file differently (pcsx1 walks scph1001 first while
DuckStation prefers scph5501), the pack serves both cores, so neither order
may win: the file is marked conflicting and its group stays undecidable.
The same holds when one profile ranks a file and another declares it with no
rank: the second core reads it by its own rule, which no rank expresses.
+2 -2
View File
@@ -1877,7 +1877,7 @@ def verify_emulator(
# An entry the profile documents as unsourceable is absent by
# design: a per-user key, a slot the user fills, a dump nobody
# has made. Counting it beside a file somebody could still
# find invites the wrong repair -- dropping the flag, or
# find invites the wrong repair: dropping the flag, or
# chasing a vendor's whole install tree.
unsourceable = file_entry.get("unsourceable")
if unsourceable:
@@ -1911,7 +1911,7 @@ def verify_emulator(
# Nothing in validation: caught it, but the name matched
# while the bytes contradict the hash the profile
# declares. That is a different file wearing the right
# name -- config.ini and ROM collide across systems -- so
# name (config.ini and ROM collide across systems), so
# calling it covered reports the collection as holding
# something it does not. Validation runs first because it
# names the specific field that disagrees.