Skip to contentSkip to conversation

doc: build: documentation: add description of KDOC_WERROR

PATCH New E Shattow 1 participant 1 message Sep 19, 2025

lore
Share & tools
lore

E Shattow

author
#0 lore raw

PATCH 1/1 doc: build: documentation: add description of KDOC_WERROR

Describe KDOC_WERROR and recommend when building documentation for a patch submission.

---
 doc/build/documentation.rst | 3 +++
 1 file changed, 3 insertions(+)
doc/build/documentation.rst +3 -0
index 098c96a4c4f..b55a4666643 100644
@@ -16,6 +16,9 @@ the following dependencies are needed to build the documentation:
 
 * texinfo (if building the `Infodoc documentation`_)
 
+When submitting patches for documentation always build with KDOC_WERROR=1 to
+treat warnings as errors.
+
 HTML documentation
 ------------------
 
Signature · 1 line
2.50.0