mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 00:27:20 -05:00
fix: put a platform's Tested block first
Placed after the meta card, the Tested heading ended the Reference section and the part-page links below it lost their level label.
This commit is contained in:
1 parent
d7fa441e1e
commit
4d2b7ecb6b
1 file changed
+2
-1
@@ -4329,6 +4329,8 @@ def generate_platform_page(
|
||||
no_list = not cov["total"] and registry.get(name, {}).get("native_list") == "none"
|
||||
if name in GUIDES:
|
||||
lines += _platform_guide(name, display, cov, registry, no_list)
|
||||
# Before the reference: the links below it are read under that heading.
|
||||
lines.extend(sitemeasurements.pack_tested_section(_PACK_ITEMS.get(name, [])))
|
||||
|
||||
lines += [
|
||||
"## Reference: every file by system { #reference-every-file-by-system }",
|
||||
@@ -4408,7 +4410,6 @@ def generate_platform_page(
|
||||
lines.extend(["", *_platform_install_block(name, display, on_card)])
|
||||
lines.extend(["", _pack_buttons(name, f"Download {display} Pack", display=display)])
|
||||
lines.append("")
|
||||
lines.extend(sitemeasurements.pack_tested_section(_PACK_ITEMS.get(name, [])))
|
||||
|
||||
# The declaration behind each detail, by system and name in declaration
|
||||
# order: keyed by name alone, the last of MiSTer's 23 boot.rom gave its
|
||||
|
||||
Reference in new issue
Block a user