[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 31/37] docs/sphinx: include kernel-doc script as a dependency
From: |
Alex Bennée |
Subject: |
[PATCH v3 31/37] docs/sphinx: include kernel-doc script as a dependency |
Date: |
Thu, 16 Jan 2025 16:03:00 +0000 |
When we update the script we should rebuild the docs. Otherwise
breaking changes made to the kdoc script don't become apparent until
later.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
docs/sphinx/depfile.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/sphinx/depfile.py b/docs/sphinx/depfile.py
index e74be6af98..d3c774d28b 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:
--
2.39.5
- [PATCH v3 32/37] docs/devel: add git-publish for patch submitting, (continued)
- [PATCH v3 32/37] docs/devel: add git-publish for patch submitting, Alex Bennée, 2025/01/16
- [PATCH v3 26/37] plugins: fix kdoc annotation, Alex Bennée, 2025/01/16
- [PATCH v3 19/37] contrib/plugins/hwprofile: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 36/37] docs: add a glossary, Alex Bennée, 2025/01/16
- [PATCH v3 27/37] editorconfig: update for perl scripts, Alex Bennée, 2025/01/16
- [PATCH v3 35/37] docs/devel: add a codebase section, Alex Bennée, 2025/01/16
- [PATCH v3 33/37] docs/devel: add b4 for patch retrieval, Alex Bennée, 2025/01/16
- [PATCH v3 17/37] contrib/plugins/hotblocks: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 28/37] tests/qtest: fix some copy and paste errors in kdoc, Alex Bennée, 2025/01/16
- [PATCH v3 18/37] contrib/plugins/cflow: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 31/37] docs/sphinx: include kernel-doc script as a dependency,
Alex Bennée <=
- [PATCH v3 23/37] win32: remove usage of attribute gcc_struct, Alex Bennée, 2025/01/16
- [PATCH v3 24/37] docs/devel/style: add a section about bitfield, and disallow them for packed structures, Alex Bennée, 2025/01/16
- [PATCH v3 34/37] docs/devel: add information on how to setup build environments, Alex Bennée, 2025/01/16
- [PATCH v3 15/37] contrib/plugins/stoptrigger: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 20/37] contrib/plugins/hotpages: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 25/37] plugins: enable linking with clang/lld, Alex Bennée, 2025/01/16