refactor: move the collection model to its module

This commit is contained in:
Abdessamad Derraz committed 2026-11-06 15:12:36 +01:00
1 parent cf4afccf04
commit b6b26392e1
8 files changed
+227 -174

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ def system_cards() -> dict[str, tuple[str, str]]:
manufacturer and listing its consoles. Read from the same grouping the
system pages are written from."""
from common import GAME_DATA_TOPS, load_database
from generate_site import _group_by_manufacturer, _slug
from sitecollection import _group_by_manufacturer, _slug
def lead(manufacturer: str) -> str:
# Other holds one folder per emulator, a game publisher's page its