[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <379dcc64-1522-454d-ab41-5570fdf5d813@suse.cz>
Date: Wed, 16 Oct 2024 09:30:23 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: Randy Dunlap <rdunlap@...radead.org>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Horia Geanta <horia.geanta@...escale.com>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH] kernel-doc: allow object-like macros in ReST output
On 10/15/24 20:11, Randy Dunlap wrote:
> output_function_rst() does not handle object-like macros. It presents
> a trailing "()" while output_function_man() handles these macros
> correctly.
>
> Update output_function_rst() to handle object-like macros.
> Don't show the "Parameters" heading if there are no parameters.
>
> For output_function_man(), don't show the "ARGUMENTS" heading if there
> are no parameters.
>
> I have tested this quite a bit with my ad hoc test files for both ReST
> and man format outputs. The generated output looks good.
>
> Fixes: cbb4d3e6510b ("scripts/kernel-doc: handle object-like macros")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Horia Geanta <horia.geanta@...escale.com>
> Cc: Jonathan Corbet <corbet@....net>
> Cc: Vlastimil Babka <vbabka@...e.cz>
The htmldocs look ok to me now, thanks a lot!
Tested-by: Vlastimil Babka <vbabka@...e.cz>
Powered by blists - more mailing lists