]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/qapi-domain: add :ifcond: directive option
authorJohn Snow <jsnow@redhat.com>
Tue, 11 Mar 2025 03:42:23 +0000 (23:42 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 11 Mar 2025 09:10:57 +0000 (10:10 +0100)
commit6a41330206e0df32b93c371b551f89d393eda2c3
tree8b8886ef92ce3352e8d76889fa9bc15d70f342ef
parentd25808c2bc7921e5cd245111212ad7e3b6da3849
docs/qapi-domain: add :ifcond: directive option

Add a special :ifcond: option that allows us to annotate the
definition-level conditionals.

The syntax of the argument is currently undefined, but it's possible we
can apply better formatting in the future. Currently, we just display
the ifcond string as preformatted text.

Signed-off-by: Harmonie Snow <harmonie@gmail.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250311034303.75779-26-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/sphinx-static/theme_overrides.css
docs/sphinx/qapi_domain.py