From: Alex Bennée Date: Thu, 16 Jan 2025 16:03:00 +0000 (+0000) Subject: docs/sphinx: include kernel-doc script as a dependency X-Git-Tag: v10.0.0-rc0~85^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b2c98854cf931cc2a090ead5cdc5c1bed4e9f41;p=thirdparty%2Fqemu.git docs/sphinx: include kernel-doc script as a dependency When we update the script we should rebuild the docs. Otherwise breaking changes made to the kdoc script don't become apparent until later. Reviewed-by: Pierrick Bouvier Signed-off-by: Alex Bennée Message-Id: <20250116160306.1709518-32-alex.bennee@linaro.org> --- diff --git a/docs/sphinx/depfile.py b/docs/sphinx/depfile.py index e74be6af98b..d3c774d28b1 100644 --- a/docs/sphinx/depfile.py +++ b/docs/sphinx/depfile.py @@ -31,6 +31,9 @@ def get_infiles(env): for path in Path(static_path).rglob('*'): yield str(path) + # also include kdoc script + yield str(env.config.kerneldoc_bin[1]) + def write_depfile(app, exception): if exception: