]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/sphinx: adjust qapidoc to cope with same-line error sections
authorJohn Snow <jsnow@redhat.com>
Wed, 18 Jun 2025 16:53:49 +0000 (12:53 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 14 Jul 2025 08:06:41 +0000 (10:06 +0200)
commit66c83cdd91c07575ebf30bb45da8cc5df8041c29
tree582f26d84f42177e324d318eb18e72a8b1d071b0
parent9a4e273ddec3927920c5958d2226c6b38b543336
docs/sphinx: adjust qapidoc to cope with same-line error sections

Without this, the line the new QAPI doc generator chokes on

    # Errors: some

in doc-good.json.  We still use the old doc generator for the tests,
but we're about to correct that.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250618165353.1980365-2-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Fixes: e9fbf1a0c6c2 (docs/qapidoc: add visit_errors() method)
[Amend commit message to point to reproducer, and add Fixes:]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/sphinx/qapidoc.py