refactor: one home for the site image folders

This commit is contained in:
Abdessamad Derraz committed 2026-11-23 23:07:45 +01:00
1 parent 2ccd7bb88f
commit b7ff75a22e
2 files changed
+2 -6

No files matched your search

+1 -2
View File
@@ -23,10 +23,9 @@ from sitegen.imagenormalize import (
shrink_embedded,
square_image,
)
from sitegen.pageprep import ICON_DIR, LOGO_DIR
from sitegen.render import SYSTEM_ICON_BASE, console_icon_name
LOGO_DIR = REPO_ROOT / "docs_assets" / "logos"
ICON_DIR = REPO_ROOT / "docs_assets" / "system-icons"
AVATAR_HOST = "avatars.githubusercontent.com"
USER_AGENT = "retrobios-site-images"
+1 -4
View File
@@ -7,7 +7,6 @@ import urllib.parse
from collections.abc import Mapping
from dataclasses import dataclass, field
from core.paths import REPO_ROOT
from model import siteinputs
from model.collection import card_moves
from model.systemnames import (
@@ -19,11 +18,9 @@ from model.systemnames import (
)
from sitegen import markup
from sitegen.arcadeboards import ArcadeBoards, read_arcade_boards
from sitegen.pageprep import ICON_DIR
from sitegen.render import SYSTEM_ICON_BASE, board_slug, console_anchor, console_icon_name
# Local copies of the upstream icons, named as upstream names them.
ICON_DIR = REPO_ROOT / "docs_assets" / "system-icons"
@dataclass
class LinkTables: