summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2020-11-17 17:52:59 +0100
committerPaolo Bonzini2020-12-10 18:15:22 +0100
commit6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4 (patch)
treef570202c9bbf65554355c7bad5b43e06a3285731 /include/block
parentRevert "kernel-doc: Use c:struct for Sphinx 3.0 and later" (diff)
downloadqemu-6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4.tar.gz
qemu-6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4.tar.xz
qemu-6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4.zip
scripts: kernel-doc: make it more compatible with Sphinx 3.x
With Sphinx 3.x, the ".. c:type:" tag was changed to accept either: .. c:type:: typedef-like declaration .. c:type:: name Using it for other types (including functions) don't work anymore. So, there are newer tags for macro, enum, struct, union, and others, which doesn't exist on older versions. Add a check for the Sphinx version and change the produced tags accordingly. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20201117165312.118257-17-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions