diff options
| author | John Snow <jsnow@redhat.com> | 2025-03-10 23:42:06 -0400 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-03-11 10:07:03 +0100 |
| commit | 760b37e1df0cd4129127e1e381fb25b98ceecc79 (patch) | |
| tree | 9072030b8ab331419d5e43c086b00ab1653485d7 /docs/sphinx/compat.py | |
| parent | dca2f3c47137b2bc276f443b3c269215a1ef9166 (diff) | |
| download | focaccia-qemu-760b37e1df0cd4129127e1e381fb25b98ceecc79.tar.gz focaccia-qemu-760b37e1df0cd4129127e1e381fb25b98ceecc79.zip | |
docs/qapi-domain: add QAPI xref roles
Add domain-specific cross-reference syntax. As of this commit, that means new :qapi:any:`block-core` referencing syntax. The :any: role will find anything registered to the QAPI domain, including modules, commands, events, etc. Creating the cross-references is powered by the QAPIXRefRole class; resolving them is handled by QAPIDomain.resolve_xref(). QAPIXrefRole is based heavily on Sphinx's own PyXrefRole, with modifications necessary for QAPI features. Signed-off-by: John Snow <jsnow@redhat.com> Message-ID: <20250311034303.75779-9-jsnow@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'docs/sphinx/compat.py')
0 files changed, 0 insertions, 0 deletions