docs: enable transmogrifier for QSD and QGA

This also creates the `qapi-qsd-index` and `qapi-qga-index` QMP indices.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250313044312.189276-12-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
John Snow 2025-03-13 00:43:12 -04:00 committed by Markus Armbruster
parent d85f7efe1f
commit a6af544344
5 changed files with 17 additions and 0 deletions

View file

@ -164,7 +164,9 @@ qapi_allowed_fields = {
# Due to a limitation in Sphinx, we need to know which indices to
# generate in advance. Adding a namespace here allows that generation.
qapi_namespaces = {
"QGA",
"QMP",
"QSD",
}
# -- Options for HTML output ----------------------------------------------

View file

@ -5,3 +5,5 @@ QEMU Guest Agent Protocol Reference
:depth: 3
.. qapi-doc:: qga/qapi-schema.json
:transmogrify:
:namespace: QGA

View file

@ -5,3 +5,5 @@ QEMU Storage Daemon QMP Reference Manual
:depth: 3
.. qapi-doc:: storage-daemon/qapi/qapi-schema.json
:transmogrify:
:namespace: QSD

View file

@ -3,6 +3,9 @@
##
# = QEMU guest agent protocol commands and structs
#
# For a concise listing of all commands, events, and types in the QEMU
# guest agent, please consult the `qapi-qga-index`.
##
{ 'pragma': { 'doc-required': true } }

View file

@ -13,6 +13,14 @@
# the array type in the main schema, even if it is unused outside of the
# storage daemon.
##
# = QEMU storage daemon protocol commands and structs
#
# For a concise listing of all commands, events, and types in the QEMU
# storage daemon, please consult the `qapi-qsd-index`.
##
{ 'include': '../../qapi/pragma.json' }
# Documentation generated with qapi-gen.py is in source order, with