refactor: site code reads the repo root from core

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 19:31:27 +01:00
1 parent d50dfc36e2
commit ab0265408c
13 files changed
+31 -23

No files matched your search

+2 -1
View File
@@ -19,8 +19,9 @@ from pathlib import Path
import sitemarkup as markup
from model.safeparse import require_yaml
from sitebootstrap import PS1_NAME, SH_NAME
from core.paths import REPO_ROOT
PLATFORMS_DIR = Path(__file__).resolve().parent.parent / "platforms"
PLATFORMS_DIR = REPO_ROOT / "platforms"
GUIDES_FILE = PLATFORMS_DIR / "_guides.yml"