[PATCH] docs: doc-guide: add command to output

From: Manuel Ebner

Date: Mon Nov 16 2026 - 02:24:09 EST


Add the command './scripts/kernel-doc' to the code block to make it
self-explanatory how to reproduce.

Signed-off-by: Manuel Ebner <manuelebnerli@xxxxxxxxxxx>
---
Documentation/doc-guide/contributing.rst | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/doc-guide/contributing.rst b/Documentation/doc-guide/contributing.rst
index 0f0804f82d..46a44b39d6 100644
--- a/Documentation/doc-guide/contributing.rst
+++ b/Documentation/doc-guide/contributing.rst
@@ -55,6 +55,7 @@ fixes; they should go to the maintainer of the subsystem in question.
For example, in a documentation build I grabbed a pair of warnings nearly
at random::

+ user@PC$ ./scripts/kernel-doc --none drivers/devfreq/devfreq.c
./drivers/devfreq/devfreq.c:1818: warning: bad line:
- Resource-managed devfreq_register_notifier()
./drivers/devfreq/devfreq.c:1854: warning: bad line:
--
2.56.0