Browse Source

docs/interop: Sanitize QMP reference manuals TOC

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>
pull/291/head
Markus Armbruster 1 year ago
parent
commit
0d4c7ea0f8
  1. 2
      docs/interop/qemu-qmp-ref.rst
  2. 2
      docs/interop/qemu-storage-daemon-qmp-ref.rst

2
docs/interop/qemu-qmp-ref.rst

@ -4,7 +4,7 @@ QEMU QMP Reference Manual
=========================
.. contents::
:depth: 3
:local:
.. qapi-doc:: qapi/qapi-schema.json
:transmogrify:

2
docs/interop/qemu-storage-daemon-qmp-ref.rst

@ -2,7 +2,7 @@ QEMU Storage Daemon QMP Reference Manual
========================================
.. contents::
:depth: 3
:local:
.. qapi-doc:: storage-daemon/qapi/qapi-schema.json
:transmogrify:

Loading…
Cancel
Save