diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-24 16:30:37 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-15 08:49:35 +0300 |
commit | efa44475b8f5c692be4c5822a659e1a96f16dacb (patch) | |
tree | d0394424abd912a2991b3576b2a58dda7bcbdb29 /.cocciconfig | |
parent | d38c8cfb057183f619dc8534030bb64b63f78043 (diff) | |
download | linux-efa44475b8f5c692be4c5822a659e1a96f16dacb.tar.xz |
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>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions