Linux EDAC development
 help / color / mirror / Atom feed
* [PATCH v3 00/16] qapi: add formal "intro" section
@ 2026-06-03  3:21 John Snow
  2026-06-03  3:21 ` [PATCH v3 01/16] python: temporarily restrict max mypy version John Snow
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: John Snow @ 2026-06-03  3:21 UTC (permalink / raw)
  To: qemu-devel
  Cc: Ani Sinha, Michael Roth, Igor Mammedov, John Snow, Peter Maydell,
	Eric Blake, Philippe Mathieu-Daudé, Mauro Carvalho Chehab,
	Michael S. Tsirkin, Markus Armbruster, Marc-André Lureau,
	Paolo Bonzini, Pierrick Bouvier, Richard Henderson, Gerd Hoffmann,
	Philippe Mathieu-Daudé, linux-edac, Cleber Rosa

Hiya, this is a series that explores a potential syntax for a
designated "Intro" section. Markus knows why I want this, but for
everyone else: a designated "Introduction" section is useful for the
desired "inliner" feature for the new QAPI doc system. Commits explain
a bit more. This is prep work and doesn't really change anything
tangibly except source code syntax for the QAPI docs.

It is designed so that this conversion can happen incrementally with
no actual difference to the rendered manuals, so each QAPI module can
be converted one at a time for easier review and merging in an
arbitrary order.

This series demonstrates conversion of just four modules; if I'm given
a thumbs up, I will convert the rest of QAPI, one module (or
maintainer stanza) per patch like how I handled adding
cross-references.

**

V3: changed intro section syntax, made various fixes and changes; I'm
going to be honest Markus I did not keep a strict account this time
;_;

V2: punt intro sections to the subsequent line and adjust the parser
accordingly. Left as an RFC patch that undoes some things this series
does instead of properly factoring into the series.

John Snow (16):
  python: temporarily restrict max mypy version
  tests/qapi: generate output in source order
  qapi/docs: remove unused QAPIDoc subsection members
  qapi/docs: add has_features property
  qapi/docs: make remaining subsection members "private"
  qapi/docs: fix comment phrasing
  qapi/docs: add "Intro" section
  qapi/parser: move _insert_near_kind() method
  qapi/docs: adjust stub member insertion algorithm
  qapi/docs: remove implicit Plain section
  qapi/docs: add rendering for INTRO sections
  qapi/docs: add "Intro" section parsing
  qapi: convert intro sections for accelerator.json
  qapi: convert intro sections for acpi-hest.json
  qapi: convert intro sections for acpi.json
  qapi: convert intro sections for audio.json

 docs/devel/qapi-code-gen.rst   |  16 ++--
 docs/sphinx/qapidoc.py         |  59 +++++++-----
 qapi/accelerator.json          |  18 ++--
 qapi/acpi-hest.json            |   4 +-
 qapi/acpi.json                 |  18 ++--
 qapi/audio.json                |  88 +++++++-----------
 python/setup.cfg               |   3 +-
 scripts/qapi/parser.py         | 162 +++++++++++++++++++--------------
 tests/qapi-schema/doc-good.out |  86 ++++++++---------
 tests/qapi-schema/test-qapi.py |  14 +--
 10 files changed, 236 insertions(+), 232 deletions(-)

-- 
2.54.0



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-06-03 11:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03  3:21 [PATCH v3 00/16] qapi: add formal "intro" section John Snow
2026-06-03  3:21 ` [PATCH v3 01/16] python: temporarily restrict max mypy version John Snow
2026-06-03  3:21 ` [PATCH v3 02/16] tests/qapi: generate output in source order John Snow
2026-06-03  3:21 ` [PATCH v3 03/16] qapi/docs: remove unused QAPIDoc subsection members John Snow
2026-06-03  3:21 ` [PATCH v3 04/16] qapi/docs: add has_features property John Snow
2026-06-03  3:21 ` [PATCH v3 05/16] qapi/docs: make remaining subsection members "private" John Snow
2026-06-03  3:21 ` [PATCH v3 06/16] qapi/docs: fix comment phrasing John Snow
2026-06-03  3:21 ` [PATCH v3 07/16] qapi/docs: add "Intro" section John Snow
2026-06-03  3:21 ` [PATCH v3 08/16] qapi/parser: move _insert_near_kind() method John Snow
2026-06-03  3:21 ` [PATCH v3 09/16] qapi/docs: adjust stub member insertion algorithm John Snow
2026-06-03 11:27   ` Markus Armbruster
2026-06-03  3:21 ` [PATCH v3 10/16] qapi/docs: remove implicit Plain section John Snow
2026-06-03  3:21 ` [PATCH v3 11/16] qapi/docs: add rendering for INTRO sections John Snow
2026-06-03  3:21 ` [PATCH v3 12/16] qapi/docs: add "Intro" section parsing John Snow
2026-06-03  3:21 ` [PATCH v3 13/16] qapi: convert intro sections for accelerator.json John Snow
2026-06-03  3:21 ` [PATCH v3 14/16] qapi: convert intro sections for acpi-hest.json John Snow
2026-06-03  3:22 ` [PATCH v3 15/16] qapi: convert intro sections for acpi.json John Snow
2026-06-03  3:22 ` [PATCH v3 16/16] qapi: convert intro sections for audio.json John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox