Link contextual guidance to Docs

This commit is contained in:
2026-08-03 07:33:57 +02:00
parent 70fc6da811
commit b823a22b9b
13 changed files with 191 additions and 4 deletions
+5
View File
@@ -28,6 +28,7 @@ const localizedMarkup = renderToStaticMarkup(
target: "i18n:target",
technicalDetails: "i18n:technical-details"
}}
documentation={{ topicId: "docs.pattern.blocked-action" }}
reason={{
summary: "i18n:summary",
requiredAction: "i18n:action-copy",
@@ -47,3 +48,7 @@ for (const token of [
assert(localizedMarkup.includes(token), `${token} is rendered through the shared blocker contract`);
}
assert(localizedMarkup.includes("tone-danger"), "the consequence tone remains explicit");
assert(
localizedMarkup.includes("topic=docs.pattern.blocked-action"),
"a blocker can link to a stable configured-system documentation topic"
);