diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-08-14 18:13:16 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-08-30 16:37:23 +0100 |
commit | 3f34478007a2423399dbdfae5e3deeca3898da9c (patch) | |
tree | 0a619fc369c22ab173baf42640c15582eb673445 /rust | |
parent | 5ffd387e9e0f787744fadaad35e1bf92224b0642 (diff) | |
download | qemu-3f34478007a2423399dbdfae5e3deeca3898da9c.zip qemu-3f34478007a2423399dbdfae5e3deeca3898da9c.tar.gz qemu-3f34478007a2423399dbdfae5e3deeca3898da9c.tar.bz2 |
docs/sphinx/kerneldoc.py: Handle new LINENO syntax
The new upstream kernel-doc that we plan to update to uses a different
syntax for the LINENO directives that the Sphinx extension parses:
instead of
#define LINENO 86
it has
.. LINENO 86
Update the kerneldoc.py extension to handle both syntaxes, so
that it will work with both the old and the new kernel-doc.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Message-id: 20250814171324.1614516-2-peter.maydell@linaro.org
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions