fix: pack readme reads the guides of its run

model.guides took its platforms folder from the site's inputs, so a pack built with --platforms-dir printed the manual and install commands of the repository's guides. The loaders now take the folder (or the install address) explicitly; sitegen.guidedata binds them to the site's inputs, the pack README to the run's platforms folder, the release notes and the site validation to the folder they were given.
This commit is contained in:
Abdessamad Derraz committed 2026-11-23 23:07:45 +01:00
1 parent 2559dfba79
commit dedbde7917
41 files changed
+258 -170

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ from pathlib import Path
from core.paths import DB_FILE, PLATFORMS_DIR, REPO_ROOT
from model.collection import group_by_manufacturer
from model.database import load_database
from model.guides import group_tiles, platform_guides
from sitegen.guidedata import group_tiles, platform_guides
from model.registry import load_platform_registry
from scraper.base_scraper import FetchError, fetch_bytes
from sitegen.imagenormalize import (