From: John Snow Date: Thu, 13 Mar 2025 04:43:10 +0000 (-0400) Subject: docs: add QAPI namespace "QMP" to qemu-qmp-ref X-Git-Tag: v10.0.0-rc0~5^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=602c90beaedd9abbbf1535c8630293267e6b29c0;p=thirdparty%2Fqemu.git docs: add QAPI namespace "QMP" to qemu-qmp-ref This also creates the qapi-qmp-index.html index and cross-reference target. Signed-off-by: John Snow Message-ID: <20250313044312.189276-10-jsnow@redhat.com> Acked-by: Markus Armbruster Signed-off-by: Markus Armbruster --- diff --git a/docs/conf.py b/docs/conf.py index 175491148c..9a86e84a80 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -163,7 +163,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 = set() +qapi_namespaces = { + "QMP", +} # -- Options for HTML output ---------------------------------------------- diff --git a/docs/interop/qemu-qmp-ref.rst b/docs/interop/qemu-qmp-ref.rst index e95eeac45e..ef8792b53f 100644 --- a/docs/interop/qemu-qmp-ref.rst +++ b/docs/interop/qemu-qmp-ref.rst @@ -8,3 +8,4 @@ QEMU QMP Reference Manual .. qapi-doc:: qapi/qapi-schema.json :transmogrify: + :namespace: QMP diff --git a/qapi/qapi-schema.json b/qapi/qapi-schema.json index 4475e81cc3..c41c01eb2a 100644 --- a/qapi/qapi-schema.json +++ b/qapi/qapi-schema.json @@ -5,7 +5,7 @@ # # This document describes all commands currently supported by QMP. # -# For locating a particular item, please see the `qapi-index`. +# For locating a particular item, please see the `qapi-qmp-index`. # # Most of the time their usage is exactly the same as in the user # Monitor, this means that any other document which also describe