Skip to content

Commit 602c90b

Browse files
jnsnowMarkus Armbruster
authored andcommitted
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 <[email protected]> Message-ID: <[email protected]> Acked-by: Markus Armbruster <[email protected]> Signed-off-by: Markus Armbruster <[email protected]>
1 parent 25d44f5 commit 602c90b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@
163163

164164
# Due to a limitation in Sphinx, we need to know which indices to
165165
# generate in advance. Adding a namespace here allows that generation.
166-
qapi_namespaces = set()
166+
qapi_namespaces = {
167+
"QMP",
168+
}
167169

168170
# -- Options for HTML output ----------------------------------------------
169171

docs/interop/qemu-qmp-ref.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ QEMU QMP Reference Manual
88

99
.. qapi-doc:: qapi/qapi-schema.json
1010
:transmogrify:
11+
:namespace: QMP

qapi/qapi-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# This document describes all commands currently supported by QMP.
77
#
8-
# For locating a particular item, please see the `qapi-index`.
8+
# For locating a particular item, please see the `qapi-qmp-index`.
99
#
1010
# Most of the time their usage is exactly the same as in the user
1111
# Monitor, this means that any other document which also describe

0 commit comments

Comments
 (0)