1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages

docs: isolate current DocForge2 documentation

This commit is contained in:
Andraxion 2026-07-31 10:07:30 -04:00
parent f9a05f868e
commit 377cca0531
7 changed files with 98 additions and 1274 deletions

View file

@ -397,7 +397,9 @@ def _load_descriptor(root: Path) -> ProjectDescriptor:
title = require_string(document, "title", descriptor_path)
adapter = require_string(document, "adapter", descriptor_path)
if adapter != "generic":
raise DocForgeError("unsupported_adapter", "DFG-1 supports only the generic adapter")
raise DocForgeError(
"unsupported_adapter", "This project loader supports only the generic adapter"
)
sources = document.get("sources")
derived = document.get("derived")