]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
docs: add QAPI namespace "QMP" to qemu-qmp-ref
authorJohn Snow <jsnow@redhat.com>
Thu, 13 Mar 2025 04:43:10 +0000 (00:43 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 14 Mar 2025 06:32:41 +0000 (07:32 +0100)
This also creates the qapi-qmp-index.html index and cross-reference
target.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250313044312.189276-10-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/conf.py
docs/interop/qemu-qmp-ref.rst
qapi/qapi-schema.json

index 175491148c32d37e83e99fed19b25add2d767f55..9a86e84a8049d7d3ec1ece25cfcb0205c87ac133 100644 (file)
@@ -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 ----------------------------------------------
 
index e95eeac45e20aba37757aeb2a66afda8d67a6317..ef8792b53f55f58004643c949bce26ab6480d457 100644 (file)
@@ -8,3 +8,4 @@ QEMU QMP Reference Manual
 
 .. qapi-doc:: qapi/qapi-schema.json
    :transmogrify:
+   :namespace: QMP
index 4475e81cc3eb25dc3318ec72b3f2f18183d34f92..c41c01eb2ab9864448cc6dc349ee2b72ef45b688 100644 (file)
@@ -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