wdi-method 0.5.11 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1510,7 +1510,11 @@ def page_blueprint(c: Corpus) -> str:
|
|
|
1510
1510
|
for pc in c.pcs:
|
|
1511
1511
|
pid = str(pc.get("id"))
|
|
1512
1512
|
block = _section(c.root / f".what/{pid}/SRS-{pid}.md", "Actor Register")
|
|
1513
|
-
|
|
1513
|
+
# A Product Component carries no `name` in `components.yaml` — only a container does — so
|
|
1514
|
+
# this heading rendered as `### settings — `, with an orphaned separator, for every
|
|
1515
|
+
# component of every product. The separator belongs to the name, not to the heading.
|
|
1516
|
+
name = str(pc.get("name") or "").strip()
|
|
1517
|
+
parts.append(f"\n### {pid} — {name}\n" if name else f"\n### {pid}\n")
|
|
1514
1518
|
parts.append(_demote(block) if block
|
|
1515
1519
|
else "_no § Actor Register in this component's SRS yet._")
|
|
1516
1520
|
|