]> git.ipfire.org Git - thirdparty/qemu.git/commit
docs/qapi-domain: add resolve_any_xref()
authorJohn Snow <jsnow@redhat.com>
Tue, 11 Mar 2025 03:42:05 +0000 (23:42 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 11 Mar 2025 09:07:02 +0000 (10:07 +0100)
commitdca2f3c47137b2bc276f443b3c269215a1ef9166
treee0a0c02022a6da073968ab94d9da2e436c7f92a3
parente93d29d27e93a25e0bd59d44299fc15486c62246
docs/qapi-domain: add resolve_any_xref()

Add the ability to resolve cross-references using the `any`
cross-reference syntax. Adding QAPI-specific cross-reference roles will
be added in a forthcoming commit, and will share the same find_obj()
helper.

(There's less code needed for the generic cross-reference resolver, so
it comes first in this series.)

Once again, this code is based very heavily on sphinx.domains.python.

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