* [PATCH] docs: doc-guide: add command to output
@ 2026-11-16 7:23 Manuel Ebner
2026-11-25 16:04 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Manuel Ebner @ 2026-11-16 7:23 UTC (permalink / raw)
To: Jonathan Corbet, Shuah Khan, Randy Dunlap
Cc: Manuel Ebner, linux-doc, linux-kernel
Add the command './scripts/kernel-doc' to the code block to make it
self-explanatory how to reproduce.
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: doc-guide: add command to output
2026-11-16 7:23 [PATCH] docs: doc-guide: add command to output Manuel Ebner
@ 2026-11-25 16:04 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-11-25 16:04 UTC (permalink / raw)
To: Manuel Ebner, Shuah Khan, Randy Dunlap
Cc: Manuel Ebner, linux-doc, linux-kernel
Manuel Ebner <manuelebnerli@mailbox.org> 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@mailbox.org>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-25 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 7:23 [PATCH] docs: doc-guide: add command to output Manuel Ebner
2026-11-25 16:04 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®