diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2020-09-24 15:30:37 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-10-15 07:49:35 +0200 |
| commit | efa44475b8f5c692be4c5822a659e1a96f16dacb (patch) | |
| tree | d0394424abd912a2991b3576b2a58dda7bcbdb29 /tools/perf/scripts/python | |
| parent | d38c8cfb057183f619dc8534030bb64b63f78043 (diff) | |
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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions