* [PATCH] Documentation: gen_commands.py: fix Option list warning
@ 2025-07-11 12:53 Ahmad Fatoum
2025-08-05 9:07 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-07-11 12:53 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
Building some commands like miitool results in a warning:
miitool.rst:25: WARNING: Option list ends without a blank
line; unexpected unindent.
Have the script emit a new line after every command to silence it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Documentation/gen_commands.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/gen_commands.py b/Documentation/gen_commands.py
index 7c62a030dcec..4fcb4dda6e74 100755
--- a/Documentation/gen_commands.py
+++ b/Documentation/gen_commands.py
@@ -139,6 +139,7 @@ def gen_rst(name, cmd):
out.append('%s\n %s' % (o, d))
else:
out.append(' %s' % (d,))
+ out.append('')
out.append('')
if 'h_post' in cmd:
post = cmd['h_post']
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: gen_commands.py: fix Option list warning
2025-07-11 12:53 [PATCH] Documentation: gen_commands.py: fix Option list warning Ahmad Fatoum
@ 2025-08-05 9:07 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-08-05 9:07 UTC (permalink / raw)
To: barebox, Ahmad Fatoum
On Fri, 11 Jul 2025 14:53:49 +0200, Ahmad Fatoum wrote:
> Building some commands like miitool results in a warning:
>
> miitool.rst:25: WARNING: Option list ends without a blank
> line; unexpected unindent.
>
> Have the script emit a new line after every command to silence it.
>
> [...]
Applied, thanks!
[1/1] Documentation: gen_commands.py: fix Option list warning
https://git.pengutronix.de/cgit/barebox/commit/?id=891fab77277d (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-05 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-11 12:53 [PATCH] Documentation: gen_commands.py: fix Option list warning Ahmad Fatoum
2025-08-05 9:07 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox