diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-17 17:52:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:22 -0500 |
commit | 6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4 (patch) | |
tree | f570202c9bbf65554355c7bad5b43e06a3285731 /ui/input-keymap.c | |
parent | 46ae6e8f8225cc8e1aef13831e850154f3fd8ae6 (diff) | |
download | qemu-6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4.zip qemu-6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4.tar.gz qemu-6d3a3cfc2f1ca323b671ecdb48f4b9ec73583ea4.tar.bz2 |
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 'ui/input-keymap.c')
0 files changed, 0 insertions, 0 deletions