docs: isolate current DocForge2 documentation
This commit is contained in:
parent
f9a05f868e
commit
377cca0531
7 changed files with 98 additions and 1274 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue