aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2020-09-25 10:05:40 +0200
committerGravatar Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2020-10-15 07:49:35 +0200
commite3ad05fe6e6ff645aa91e9a555231ff53470daba (patch)
treeb55cb2029cb924feaa63e619f7ab87ba06d560f5 /virt
parentscripts: kernel-doc: make it more compatible with Sphinx 3.x (diff)
downloadlinux-e3ad05fe6e6ff645aa91e9a555231ff53470daba.tar.gz
linux-e3ad05fe6e6ff645aa91e9a555231ff53470daba.tar.bz2
linux-e3ad05fe6e6ff645aa91e9a555231ff53470daba.zip
scripts: kernel-doc: use a less pedantic markup for funcs on Sphinx 3.x
Unfortunately, Sphinx 3.x parser for c functions is too pedantic: https://github.com/sphinx-doc/sphinx/issues/8241 While it could be relaxed with some configurations, there are several corner cases that it would make it hard to maintain, and will require teaching conf.py about several macros. So, let's instead use the :c:macro notation. This will produce an output that it is not as nice as currently, but it should still be acceptable, and will provide cross-references, removing thousands of warnings when building with newer versions of Sphinx. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions