aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@protonmail.com>2020-10-13 23:13:34 +0000
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-10-15 07:49:38 +0200
commitc51d9b046f907b7c96760700c6bdda6fbe38de60 (patch)
treeb3b4375e788e793e6d211d76ec13768ad55a2336 /tools/perf/scripts/python
parentdocs: automarkup.py: Skip C reserved words when cross-referencing (diff)
downloadlinux-c51d9b046f907b7c96760700c6bdda6fbe38de60.tar.gz
linux-c51d9b046f907b7c96760700c6bdda6fbe38de60.zip
docs: automarkup.py: Add cross-reference for parametrized C macros
Sphinx 3 added support for declaring C macros with parameters using the :c:macro role. To support automarkup for both functions and parametrized macros using the same regex (words ending in ()), try to cross-reference to both, and only fall back to regular text if neither exist. Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@protonmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions