mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 19:08:51 -06:00
refactor: site code reads the repo root from core
This commit is contained in:
1 parent
d50dfc36e2
commit
ab0265408c
13 files changed
+31
-23
No files matched your search
@@ -40,6 +40,7 @@ from typing import ClassVar
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from core.cli import run_cli
|
||||
from core.paths import REPO_ROOT
|
||||
|
||||
SITE = "https://abdess.github.io"
|
||||
BASE = "/retrobios/"
|
||||
@@ -400,7 +401,7 @@ def page_markdown(html: str, page_url: str) -> str:
|
||||
return converter.markdown()
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
ROOT = REPO_ROOT
|
||||
|
||||
|
||||
def build_stamp() -> dict[str, str]:
|
||||
|
||||
Reference in new issue
Block a user