diff options
| author | John Snow <jsnow@redhat.com> | 2025-03-10 23:42:23 -0400 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-03-11 10:10:57 +0100 |
| commit | 6a41330206e0df32b93c371b551f89d393eda2c3 (patch) | |
| tree | 8b8886ef92ce3352e8d76889fa9bc15d70f342ef /docs/sphinx-static | |
| parent | d25808c2bc7921e5cd245111212ad7e3b6da3849 (diff) | |
| download | focaccia-qemu-6a41330206e0df32b93c371b551f89d393eda2c3.tar.gz focaccia-qemu-6a41330206e0df32b93c371b551f89d393eda2c3.zip | |
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>
Diffstat (limited to 'docs/sphinx-static')
| -rw-r--r-- | docs/sphinx-static/theme_overrides.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/sphinx-static/theme_overrides.css b/docs/sphinx-static/theme_overrides.css index 5f58f1d524..3fd326613d 100644 --- a/docs/sphinx-static/theme_overrides.css +++ b/docs/sphinx-static/theme_overrides.css @@ -237,3 +237,16 @@ div[class^="highlight"] pre { .qapi-deprecated::before { content: '⚠️ '; } + +.qapi-ifcond::before { + /* gaze ye into the crystal ball to determine feature availability */ + content: '🔮 '; +} + +.qapi-ifcond { + background-color: #f9f5ff; + border: solid #dac2ff 6px; + padding: 8px; + border-radius: 15px; + margin: 5px; +} |