mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 06:18:51 -06:00
refactor: one home for the site image folders
This commit is contained in:
1 parent
2ccd7bb88f
commit
b7ff75a22e
2 files changed
+2
-6
No files matched your search
@@ -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"
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user