Searched hist:efa44475b8f5c692be4c5822a659e1a96f16dacb (Results 1 – 1 of 1) sorted by relevance
/linux/scripts/ |
H A D | kernel-doc | diff efa44475b8f5c692be4c5822a659e1a96f16dacb Thu Sep 24 15:30:37 CEST 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 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>
|