feat(docs): resolve contextual handbook topics
This commit is contained in:
@@ -608,7 +608,7 @@ def _documentation_topic_payload(
|
||||
def _user_topic_metadata(kind: str, metadata: Mapping[str, Any]) -> dict[str, Any]:
|
||||
projected: dict[str, Any] = {}
|
||||
scalar_keys = ("kind", "screen", "section", "outcome", "result", "verification", "purpose", "when_used", "user_explanation")
|
||||
list_keys = ("prerequisites", "steps", "current_configuration", "limitations", "related_topic_ids")
|
||||
list_keys = ("prerequisites", "steps", "current_configuration", "limitations", "related_topic_ids", "help_contexts")
|
||||
id_keys = ("tree_parent_id", "parent_topic_id", "parent_id")
|
||||
for key in scalar_keys:
|
||||
value = _bounded_string(metadata.get(key), maximum=2_000)
|
||||
|
||||
Reference in New Issue
Block a user