mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 22:38:54 -06:00
refactor: hold the run's link tables in one place
This commit is contained in:
1 parent
6e8ef2650f
commit
7ad22248b5
25 files changed
+534
-492
No files matched your search
@@ -12,7 +12,8 @@ from model.profiles import is_emulator
|
||||
from sitegen.config import SITE_URL
|
||||
from core.hashing import parse_hash_list
|
||||
from sitegen.lookup import site_path
|
||||
from sitegen.render import card_anchor, console_href
|
||||
from sitegen.render import card_anchor
|
||||
from sitegen.runlinks import console_href
|
||||
|
||||
|
||||
def system_index_items(db: dict, coverages: dict, profiles: dict) -> list[dict]:
|
||||
@@ -25,7 +26,8 @@ def system_index_items(db: dict, coverages: dict, profiles: dict) -> list[dict]:
|
||||
takes the card of its first file, else the page of the emulator naming
|
||||
it: 28 such ids sent their hashes to no page.
|
||||
"""
|
||||
from sitegen.render import card_page, system_ids, system_section
|
||||
from sitegen.render import system_ids
|
||||
from sitegen.runlinks import card_page, system_section
|
||||
|
||||
files = db.get("files") or {}
|
||||
by_md5 = (db.get("indexes") or {}).get("by_md5") or {}
|
||||
|
||||
Reference in new issue
Block a user