doc: build: documentation: add description of KDOC_WERROR
authorE Shattow <e@freeshell.de>
Fri, 19 Sep 2025 01:37:56 +0000 (18:37 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 27 Sep 2025 07:18:48 +0000 (09:18 +0200)
Describe KDOC_WERROR and recommend when building documentation for a patch
submission.

Signed-off-by: E Shattow <e@freeshell.de>
doc/build/documentation.rst

index 098c96a..b55a466 100644 (file)
@@ -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
 ------------------