Skip to contentSkip to conversation

docs: add table of contents to QAPI references

PATCH In review Daniel P. Berrangé 2 participants 2 messages May 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: add table of contents to QAPI references

The QAPI reference docs for the guest agent, storage daemon and QMP are all rather long and hard to navigate unless you already know the name of the command and can do full text search for it.

A table of contents in each doc will help people locate stuff much more easily.

---
 docs/interop/qemu-ga-ref.rst                 | 3 +++
 docs/interop/qemu-qmp-ref.rst                | 3 +++
 docs/interop/qemu-storage-daemon-qmp-ref.rst | 3 +++
 3 files changed, 9 insertions(+)
docs/interop/qemu-ga-ref.rst +3 -0
index 3f1c4f908f..db1e946124 100644
@@ -10,4 +10,7 @@ QEMU Guest Agent Protocol Reference
    TODO: display the QEMU version, both here and in our Sphinx manuals
    more generally.
 
+.. contents::
+   :depth: 3
+
 .. qapi-doc:: qga/qapi-schema.json
docs/interop/qemu-qmp-ref.rst +3 -0
index c8abaaf8e3..b5bebf6b9a 100644
@@ -10,4 +10,7 @@ QEMU QMP Reference Manual
    TODO: display the QEMU version, both here and in our Sphinx manuals
    more generally.
 
+.. contents::
+   :depth: 3
+
 .. qapi-doc:: qapi/qapi-schema.json
docs/interop/qemu-storage-daemon-qmp-ref.rst +3 -0
index caf9dad23a..d0ebb42ebd 100644
@@ -10,4 +10,7 @@ QEMU Storage Daemon QMP Reference Manual
    TODO: display the QEMU version, both here and in our Sphinx manuals
    more generally.
 
+.. contents::
+   :depth: 3
+
 .. qapi-doc:: storage-daemon/qapi/qapi-schema.json
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Daniel P. Berrangé

The QAPI reference docs for the guest agent, storage daemon and QMP are all rather long and hard to navigate unless you already know the name of the command and can do full text search for it.

A table of contents in each doc will help people locate stuff much more easily.

---

This looks so much better!