commit | c51d9b046f907b7c96760700c6bdda6fbe38de60 | [log] [tgz] |
---|---|---|
author | NĂcolas F. R. A. Prado <nfraprado@protonmail.com> | Tue Oct 13 23:13:34 2020 +0000 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Thu Oct 15 07:49:38 2020 +0200 |
tree | b3b4375e788e793e6d211d76ec13768ad55a2336 | |
parent | 3050edfd7971da7fddc77ac7c4607697ec10a554 [diff] |
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>