]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/qapi-domain: add qapi:alternate directive
authorJohn Snow <jsnow@redhat.com>
Tue, 11 Mar 2025 03:42:18 +0000 (23:42 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 11 Mar 2025 09:10:56 +0000 (10:10 +0100)
commitbac3f1313c2d1dca49bd5499965d8cee0d7bb98f
tree73465afb16223f8808c8f21ebbecdd5a82c170c1
parent902c9b0e34049283628c4bd00a6841e13b754fec
docs/qapi-domain: add qapi:alternate directive

Add the .. qapi:alternate:: directive, object, and qapi:alt:`name`
cross-reference role.

Add the "Alternatives:" field list for describing alternate choices. Like
other field lists that reference QAPI types, a forthcoming commit will
add cross-referencing support to this field.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250311034303.75779-21-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/sphinx/qapi_domain.py