feat(docs): resolve contextual handbook topics

This commit is contained in:
2026-07-21 18:41:15 +02:00
parent bbe3c7d163
commit a08bc7c204
3 changed files with 22 additions and 3 deletions

View File

@@ -110,6 +110,7 @@ class DocsContextTests(unittest.TestCase):
"kind": "workflow",
"screen": "Example",
"steps": ["Do the safe thing."],
"help_contexts": ["example.list"],
"current_configuration": ["The bounded option is enabled."],
"constraints": [{
"id": "domain",
@@ -141,6 +142,7 @@ class DocsContextTests(unittest.TestCase):
self.assertEqual(topic["blockers"], {"modules": [], "capabilities": [], "scopes": []})
self.assertNotIn("raw_policy", topic["metadata"])
self.assertNotIn("api_path", topic["metadata"])
self.assertEqual(topic["metadata"]["help_contexts"], ["example.list"])
self.assertEqual(topic["metadata"]["constraints"][0], {
"id": "domain",
"label": "Domain",