]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/qapidoc: add preamble() method
authorJohn Snow <jsnow@redhat.com>
Tue, 11 Mar 2025 03:42:41 +0000 (23:42 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 11 Mar 2025 09:10:57 +0000 (10:10 +0100)
commit803df114fd68b5e7a3d6c60b162c0013cf6966e6
tree7b7d230ca832da6f71ad04bc7cb05bfbbf4ec228
parentf0b2fe99f63023e25b827449d54ae3623339217e
docs/qapidoc: add preamble() method

This method adds the options/preamble to each definition block. Notably,
:since: and :ifcond: are added, as are any "special features" such as
:deprecated: and :unstable:.

If conditionals, if attached to special features, are currently
unhandled in this patch and will be addressed at a future date. We
currently do not have any if conditionals attached to special features.

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