refactor: read input paths from core.paths

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:04:08 +01:00
1 parent 9f9fe2bfec
commit 49a8ed801e
10 files changed
+30 -25

No files matched your search

+2 -1
View File
@@ -14,6 +14,7 @@ import argparse
import sys
from pathlib import Path
from core.paths import PLATFORMS_DIR
from sitegen.validate import validate_site
@@ -32,7 +33,7 @@ def main() -> None:
help="the path the site is served under (default: %(default)s)",
)
parser.add_argument(
"--platforms-dir", default="platforms", type=Path,
"--platforms-dir", default=PLATFORMS_DIR, type=Path,
help="registry whose platforms each need a get/ page (default: %(default)s)",
)
parser.add_argument(