All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] qapi: add formal "intro" section
@ 2026-04-23 22:00 John Snow
  2026-04-23 22:00 ` [PATCH 01/12] tests/qapi: generate output in source order John Snow
                   ` (13 more replies)
  0 siblings, 14 replies; 18+ messages in thread
From: John Snow @ 2026-04-23 22:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: Igor Mammedov, Mauro Carvalho Chehab, Michael S. Tsirkin,
	Michael Roth, Markus Armbruster, Ani Sinha, Gerd Hoffmann,
	Eric Blake, Pierrick Bouvier, Philippe Mathieu-Daudé,
	Marc-André Lureau, Richard Henderson, Paolo Bonzini,
	Peter Maydell, John Snow

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.

John Snow (12):
  tests/qapi: generate output in source order
  qapi/docs: remove unused QAPIDoc subsection members
  qapi/docs: make remaining subsection members "private"
  qapi/docs: add "Intro" section
  qapi/docs: adjust stub member insertion algorithm
  qapi/docs: remove implicit Plain section
  qapi/docs: add "Intro" section parsing
  qapi/docs: Add rendering for INTRO sections
  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            |  17 +-
 docs/sphinx/qapidoc.py                  |  52 +++---
 qapi/accelerator.json                   |  24 +--
 qapi/acpi-hest.json                     |   5 +-
 qapi/acpi.json                          |  23 +--
 qapi/audio.json                         | 112 ++++---------
 .editorconfig                           |   1 +
 scripts/qapi/parser.py                  | 204 ++++++++++++++----------
 tests/qapi-schema/doc-good.out          |  30 ++--
 tests/qapi-schema/doc-missing-colon.err |   2 +-
 tests/qapi-schema/test-qapi.py          |  15 +-
 11 files changed, 239 insertions(+), 246 deletions(-)

-- 
2.53.0




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

end of thread, other threads:[~2026-04-28 11:46 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 22:00 [PATCH 00/12] qapi: add formal "intro" section John Snow
2026-04-23 22:00 ` [PATCH 01/12] tests/qapi: generate output in source order John Snow
2026-04-23 22:00 ` [PATCH 02/12] qapi/docs: remove unused QAPIDoc subsection members John Snow
2026-04-23 22:00 ` [PATCH 03/12] qapi/docs: make remaining subsection members "private" John Snow
2026-04-23 22:00 ` [PATCH 04/12] qapi/docs: add "Intro" section John Snow
2026-04-23 22:00 ` [PATCH 05/12] qapi/docs: adjust stub member insertion algorithm John Snow
2026-04-23 22:00 ` [PATCH 06/12] qapi/docs: remove implicit Plain section John Snow
2026-04-23 22:00 ` [PATCH 07/12] qapi/docs: add "Intro" section parsing John Snow
2026-04-23 22:00 ` [PATCH 08/12] qapi/docs: Add rendering for INTRO sections John Snow
2026-04-23 22:00 ` [PATCH 09/12] qapi: convert intro sections for accelerator.json John Snow
2026-04-23 22:00 ` [PATCH 10/12] qapi: convert intro sections for acpi-hest.json John Snow
2026-04-23 22:00 ` [PATCH 11/12] qapi: convert intro sections for acpi.json John Snow
2026-04-23 22:00 ` [PATCH 12/12] qapi: convert intro sections for audio.json John Snow
2026-04-24 12:50 ` [PATCH 00/12] qapi: add formal "intro" section Markus Armbruster
2026-04-24 12:52   ` John Snow
2026-04-24 13:37     ` Markus Armbruster
2026-04-24 19:19 ` John Snow
2026-04-28 11:45   ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.