qemu/scripts/qapi
John Snow ebb49d4bb6 qapi: add doc comment "Intro" section parsing
Add parsing for explicit Intro section syntax.

A side effect of this patch is that we will (currently) always create
an empty Intro section, similar to how we used to have an empty Plain
section. The tests are adjusted accordingly, rendered document output
does not change at all.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20260611042332.482979-14-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2026-06-16 15:36:08 +02:00
..
__init__.py qapi-gen: New common driver for code and doc generators 2018-03-02 13:14:09 -06:00
backend.py qapi: Add some pylint ignores 2025-06-05 12:08:53 -04:00
commands.py python/qapi: delint import statements 2025-11-19 10:46:26 +01:00
common.py qapi: Smarter camel_to_upper() to reduce need for 'prefix' 2024-09-10 13:22:47 +02:00
error.py treewide: remove unnessary "coding" header 2025-10-01 11:22:07 -04:00
events.py qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
expr.py treewide: remove unnessary "coding" header 2025-10-01 11:22:07 -04:00
features.py qapi: expose all schema features to code 2025-02-10 15:45:04 +01:00
gen.py treewide: remove unnessary "coding" header 2025-10-01 11:22:07 -04:00
introspect.py python/qapi: add an ignore for Pylint 4.x 2025-11-19 10:45:44 +01:00
main.py scripts/qapi/backend: Clean up create_backend()'s failure mode 2025-03-11 10:26:52 +01:00
parser.py qapi: add doc comment "Intro" section parsing 2026-06-16 15:36:08 +02:00
pylintrc python: add qapi static analysis tests 2025-06-05 12:09:43 -04:00
schema.py treewide: remove unnessary "coding" header 2025-10-01 11:22:07 -04:00
source.py qapi/source: allow multi-line QAPISourceInfo advancing 2025-03-11 10:10:57 +01:00
types.py qapi: expose all schema features to code 2025-02-10 15:45:04 +01:00
visit.py qapi: expose all schema features to code 2025-02-10 15:45:04 +01:00