Skip to contentSkip to conversation

qapi/control: Turn the reference to qmp-spec.rst into a link

PATCH Applied John Snow 3 participants 4 messages Sep 29 – Oct 8

lore
Share & tools
lore

John Snow

author
#0 lore raw

PATCH 1/1 qapi/control: Turn the reference to qmp-spec.rst into a link

Add a new anchor to qmp-spec that allows us to cross-reference the Out-of-band execution section of the spec directly.

Amend the documentation in qapi/control.json to use this new cross reference instead of a plaintext "see also".

---
 docs/interop/qmp-spec.rst | 2 ++
 qapi/control.json         | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
docs/interop/qmp-spec.rst +2 -0
index 563344160e6..ea713a96ac0 100644
@@ -119,6 +119,8 @@ Where:
 
 The actual commands are documented in the :doc:`qemu-qmp-ref`.
 
+.. _out-of-band execution:
+
 Out-of-band execution
 ---------------------
 
qapi/control.json +1 -2
index ef63a8a261b..e97fe317af7 100644
@@ -44,8 +44,7 @@
 #     client connection, used for agreeing on particular QMP extension
 #     behaviors.
 #
-# @oob: QMP ability to support out-of-band requests.  (Please refer to
-#     qmp-spec.rst for more information on OOB)
+# @oob: QMP ability to support :ref:`out-of-band execution` requests.
 #
 # Since: 2.12
 ##
Signature · 1 line
2.55.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · John Snow

Add a new anchor to qmp-spec that allows us to cross-reference the Out-of-band execution section of the spec directly.

Amend the documentation in qapi/control.json to use this new cross reference instead of a plaintext "see also".

Quoted 6 lines
---
 docs/interop/qmp-spec.rst | 2 ++
 qapi/control.json         | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org
author
#2 lore raw
In reply to John Snow
Quoted 9 lines · John Snow

Add a new anchor to qmp-spec that allows us to cross-reference the Out-of-band execution section of the spec directly.

Amend the documentation in qapi/control.json to use this new cross reference instead of a plaintext "see also".

Markus: With no feedback, I assume this is good to go?

Quoted 35 lines
---
 docs/interop/qmp-spec.rst | 2 ++
 qapi/control.json         | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
docs/interop/qmp-spec.rst +2 -0
index 563344160e6..ea713a96ac0 100644
@@ -119,6 +119,8 @@ Where:
 
 The actual commands are documented in the :doc:`qemu-qmp-ref`.
 
+.. _out-of-band execution:
+
 Out-of-band execution
 ---------------------
 
qapi/control.json +1 -3
index ef63a8a261b..e97fe317af7 100644
@@ -44,8 +44,7 @@
 #     client connection, used for agreeing on particular QMP extension
 #     behaviors.
 #
-# @oob: QMP ability to support out-of-band requests.  (Please refer to
-#     qmp-spec.rst for more information on OOB)
+# @oob: QMP ability to support :ref:`out-of-band execution` requests.
 #
 # Since: 2.12
 ##
--

2.55.0

#3 lore raw
Quoted 5 lines · John Snow
Quoted 4 lines · John Snow

Add a new anchor to qmp-spec that allows us to cross-reference the Out-of-band execution section of the spec directly.

Quoted 7 lines
Quoted 5 lines

Amend the documentation in qapi/control.json to use this new cross reference instead of a plaintext "see also".

Markus: With no feedback, I assume this is good to go?

Queued. Thanks!