Skip to contentSkip to conversation

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

PATCH In review Markus Armbruster 2 participants 3 messages Sep 28 – Sep 29

lore
Share & tools
lore
#0 lore raw

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

---
 qapi/control.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/control.json +1 -1
index 9898552814..c56aabacff 100644
@@ -46,7 +46,7 @@
 # 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)
+#     :doc:`/interop/qmp-spec` for more information on OOB)
 #
 # Since: 2.12
 ##
Signature · 1 line
2.55.0
#1 lore raw
Quoted 20 lines · Markus Armbruster
---
 qapi/control.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/control.json +1 -2
index 9898552814..c56aabacff 100644
@@ -46,7 +46,7 @@
 # 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)
+#     :doc:`/interop/qmp-spec` for more information on OOB)
 #
 # Since: 2.12
 ##
--
Quoted 2 lines

2.55.0

I have a similar patch coming up in my rework of the @oob feature that:

(1) Adds an anchor to the OOB section of the qmp spec explicitly,
(2) Uses a standard form text with the above reference when generating docs for commands with the @oob property.

The second doesn't apply to this command as it's an arg and not a feature/property; but we can do better and link directly to the OOB section of the spec doc.

--js

#2 lore raw
Quoted 26 lines · John Snow
Quoted 20 lines · Markus Armbruster
---
 qapi/control.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/control.json +1 -2
index 9898552814..c56aabacff 100644
@@ -46,7 +46,7 @@
 # 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)
+#     :doc:`/interop/qmp-spec` for more information on OOB)
 #
 # Since: 2.12
 ##
--
Quoted 2 lines

2.55.0

I have a similar patch coming up in my rework of the @oob feature that:

Quoted 7 lines

(1) Adds an anchor to the OOB section of the qmp spec explicitly,
(2) Uses a standard form text with the above reference when generating docs for commands with the @oob property.

The second doesn't apply to this command as it's an arg and not a feature/property; but we can do better and link directly to the OOB section of the spec doc.

I'm glad I cc'ed you. Would you like me to drop this patch? Or should I merge it, and you improve on top?