diff options
author | John Snow <jsnow@redhat.com> | 2025-03-10 23:42:09 -0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2025-03-11 10:07:03 +0100 |
commit | 7320feeb9663c2fba1f70ed263f4c18080c75e3e (patch) | |
tree | 2065d690ea12a5c3db65651b409a217bf2470882 /docs/sphinx/kerneldoc.py | |
parent | 1ea664862ad097f25d722c1c733d16c5b971e99b (diff) | |
download | qemu-7320feeb9663c2fba1f70ed263f4c18080c75e3e.zip qemu-7320feeb9663c2fba1f70ed263f4c18080c75e3e.tar.gz qemu-7320feeb9663c2fba1f70ed263f4c18080c75e3e.tar.bz2 |
docs/qapi-domain: add qapi:module directive
This adds the qapi:module directive, which just notes the current module
being documented and performs a nested parse of the content block, if
present.
This code is based pretty heavily on Sphinx's PyModule directive, but
with unnecessary features excised.
For example:
.. qapi:module:: block-core
Hello, and welcome to block-core!
=================================
lorem ipsum, dolor sit amet ...
Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250311034303.75779-12-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'docs/sphinx/kerneldoc.py')
0 files changed, 0 insertions, 0 deletions