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
@@ -35,8 +35,9 @@ import measurement_records as mr
import sitemarkup as markup
from core.artifacts import json_text, write_if_changed
from siterender import _escape_tags
from core.paths import REPO_ROOT
ROOT = Path(__file__).resolve().parent.parent
ROOT = REPO_ROOT
REPO = "https://github.com/Abdess/retrobios"
EXPLORER_PAGE = "measurements.md"
METHOD_PAGE = "wiki/measurements.md"