Re: [PATCH] docs: doc-guide: add command to output
From: Jonathan Corbet
Date: Wed Nov 25 2026 - 11:04:20 EST
Manuel Ebner <manuelebnerli@xxxxxxxxxxx> writes:
> 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:
*shrug* applied, thanks.
jon