fix: link empty Feature groups
Build and publish 3D Architecture Wizzard documentation / build (pull_request) Failing after 21s
Build and publish 3D Architecture Wizzard documentation / build (pull_request) Failing after 21s
This commit is contained in:
@@ -66,6 +66,16 @@ The approved catalogue was mined from legacy revision \`${epic.legacy_revision}\
|
||||
${evidenceList(epic)}
|
||||
`;
|
||||
|
||||
const featuresPage = (epic) => `---
|
||||
title: "${epic.id} Features"
|
||||
description: "Review Features governed by ${epic.id}."
|
||||
---
|
||||
|
||||
# Review ${epic.id} Features
|
||||
|
||||
No child Features have been defined or approved for this Epic. Feature discovery must preserve the [${epic.id} boundary](../${epic.id.toLowerCase()}.md) and requires a separate human **Approved for Solution** decision before Architecture solution work begins.
|
||||
`;
|
||||
|
||||
const epicLinks = records.map((epic) => `- [${epic.id} — ${epic.title}](./${epic.id.toLowerCase()}.md)`).join('\n');
|
||||
const epicIndex = `---
|
||||
title: "Epics"
|
||||
@@ -110,6 +120,7 @@ const expected = new Map([
|
||||
[join(root, 'scope/roadmap.md'), roadmap],
|
||||
[join(root, 'src/data/scopeIssues.ts'), ts],
|
||||
...records.map((epic) => [join(root, `scope/epics/${epic.id.toLowerCase()}.md`), epicPage(epic)]),
|
||||
...records.map((epic) => [join(root, `scope/epics/${epic.id.toLowerCase()}/features.md`), featuresPage(epic)]),
|
||||
]);
|
||||
|
||||
let stale = false;
|
||||
|
||||
Reference in New Issue
Block a user