summary refs log tree commit diff stats
path: root/docs/sphinx/dbusdomain.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2025-03-10 23:42:09 -0400
committerMarkus Armbruster <armbru@redhat.com>2025-03-11 10:07:03 +0100
commit7320feeb9663c2fba1f70ed263f4c18080c75e3e (patch)
tree2065d690ea12a5c3db65651b409a217bf2470882 /docs/sphinx/dbusdomain.py
parent1ea664862ad097f25d722c1c733d16c5b971e99b (diff)
downloadfocaccia-qemu-7320feeb9663c2fba1f70ed263f4c18080c75e3e.tar.gz
focaccia-qemu-7320feeb9663c2fba1f70ed263f4c18080c75e3e.zip
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/dbusdomain.py')
0 files changed, 0 insertions, 0 deletions