Files
xemu/tests/qapi-schema
John Snow b61a4eb3f3 docs/qapidoc: support header-less freeform sections
The code as written crashes when a free-form documentation block doesn't
start with a heading or subheading, for example:

| ##
| # Just text, no heading.
| ##

The code will attempt to use the `node` variable uninitialized. To fix,
create a generic block to insert the doc text into.

(This patch also removes a lingering pylint warning in the QAPIDoc
implementation that prevents getting a clean baseline to use for
forthcoming additions.)

Fixes: 43e0d14ee0 (docs/sphinx: fix extra stuff in TOC after freeform QMP sections)
Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250224033741.222749-5-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Test updated to cover this]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2025-03-04 07:11:06 +01:00
..
2020-08-03 08:28:08 +02:00
2019-10-22 09:26:12 +02:00
2019-10-22 09:26:12 +02:00
2019-10-22 09:26:12 +02:00
2019-10-22 09:26:12 +02:00
2019-10-22 09:26:12 +02:00
2015-05-05 18:39:01 +02:00
2023-09-08 13:08:52 +03:00
2015-05-05 18:39:01 +02:00
2019-10-22 09:26:12 +02:00
2015-05-05 18:39:01 +02:00
2019-10-22 09:26:12 +02:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2017-01-16 10:10:35 +01:00
2019-10-22 09:26:12 +02:00
…
2015-05-05 18:39:01 +02:00
2019-10-22 09:26:12 +02:00
2019-10-22 09:26:12 +02:00
2019-10-22 09:26:12 +02:00
2020-08-03 08:28:08 +02:00
2021-03-23 22:31:05 +01:00
2021-03-23 22:31:05 +01:00
2021-03-23 22:31:05 +01:00
2021-09-27 08:23:25 +02:00