Skip to content

Commit 7b2c988

Browse files
committed
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 <pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250116160306.1709518-32-alex.bennee@linaro.org>
1 parent 2012375 commit 7b2c988

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/sphinx/depfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ def get_infiles(env):
3131
for path in Path(static_path).rglob('*'):
3232
yield str(path)
3333

34+
# also include kdoc script
35+
yield str(env.config.kerneldoc_bin[1])
36+
3437

3538
def write_depfile(app, exception):
3639
if exception:

0 commit comments

Comments
 (0)