aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx/qapi_domain.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2025-03-13 00:43:07 -0400
committerMarkus Armbruster <armbru@redhat.com>2025-03-14 07:31:57 +0100
commitb1df602ebbd06d56311a77d195284216263b13f8 (patch)
tree41998ac376eeb49cf7a77c1c63ab70af2db107d6 /docs/sphinx/qapi_domain.py
parent7c7247b252dd8b3911b96451c0eaaebbc6ac0af0 (diff)
downloadqemu-b1df602ebbd06d56311a77d195284216263b13f8.zip
qemu-b1df602ebbd06d56311a77d195284216263b13f8.tar.gz
qemu-b1df602ebbd06d56311a77d195284216263b13f8.tar.bz2
docs/qapidoc: add :namespace: option to qapi-doc directive
Add a :namespace: option to the qapi-doc directive, which inserts a qapi:namespace directive into the start of the generated document. This, in turn, associates all auto-generated definitions by this directive with the specified namespace. The source info for these generated lines are credited to the start of the qapi-doc directive, which isn't precisely correct, but I wasn't sure how to get it more accurate without some re-parsing shenanigans. Signed-off-by: John Snow <jsnow@redhat.com> Message-ID: <20250313044312.189276-7-jsnow@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'docs/sphinx/qapi_domain.py')
0 files changed, 0 insertions, 0 deletions