]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/qapi-domain: add :namespace: override option
authorJohn Snow <jsnow@redhat.com>
Thu, 13 Mar 2025 04:43:05 +0000 (00:43 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 14 Mar 2025 06:31:57 +0000 (07:31 +0100)
commit9ca404f0043d63043bfed3af8da3adedc062cb13
treeba485ea777cd2a519460a750685e6e26b037c304
parent74d40b011c27dc343ad56022a322d212135c96ed
docs/qapi-domain: add :namespace: override option

Akin to the :module: override option, the :namespace: options allows you
to forcibly override the contextual namespace associatied with a
definition.

We don't necessarily actually need this, but I felt compelled to stick
close to how the Python domain works that offers context overrides.

As of this commit, it is possible to add e.g. ":namespace: QMP" to any
QAPI directive to forcibly associate that definition with a given
namespace.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250313044312.189276-5-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/devel/qapi-domain.rst
docs/sphinx/qapi_domain.py