]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
docs/interop: Sanitize QMP reference manuals TOC
authorMarkus Armbruster <armbru@redhat.com>
Fri, 4 Apr 2025 12:14:06 +0000 (14:14 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 8 Apr 2025 07:04:34 +0000 (09:04 +0200)
The "QEMU QMP Reference Manual" and the "QEMU Storage Daemon QMP
Reference Manual" start with a table of contents that looks like this:

    Contents

    * Title of the manual
      * Title of first first-level section
        * Title of its first second-level section
        * Title of its second second-level section
        ...
      * Title of second first-level section
      ...

The first level is useless.  Drop it.

While there, delete the option that limits the TOC to depth 3.  Its
actual depth was 3 before the patch, and is now 2.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250404121413.1743790-5-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
docs/interop/qemu-qmp-ref.rst
docs/interop/qemu-storage-daemon-qmp-ref.rst

index ef8792b53f55f58004643c949bce26ab6480d457..3bc1ca12b169e908ea8e661828d83e07be4cfec3 100644 (file)
@@ -4,7 +4,7 @@ QEMU QMP Reference Manual
 =========================
 
 .. contents::
-   :depth: 3
+   :local:
 
 .. qapi-doc:: qapi/qapi-schema.json
    :transmogrify:
index d0228d63b8d9bf685854cac447866b8fbdfd4b7f..dc7bde262ae91fa353b86270985af8a40d04a49b 100644 (file)
@@ -2,7 +2,7 @@ QEMU Storage Daemon QMP Reference Manual
 ========================================
 
 .. contents::
-   :depth: 3
+   :local:
 
 .. qapi-doc:: storage-daemon/qapi/qapi-schema.json
    :transmogrify: