Re: [PATCH linux-doc v3] docs/doc-guide: Clarify how to write tables

From: Jonathan Corbet
Date: Fri Jun 09 2023 - 04:00:44 EST


Joe Stringer <joe@xxxxxxxxxxxxx> writes:

> Prior to this commit, the kernel docs writing guide spent over a page
> describing exactly how *not* to write tables into the kernel docs,
> without providing a example about the desired format.
>
> This patch provides a positive example first in the guide so that it's
> harder to miss, then leaves the existing less desirable approach below
> for contributors to follow if they have some stronger justification for
> why to use that approach.
>
> Signed-off-by: Joe Stringer <joe@xxxxxxxxxxxxx>
> ---
> v3: Fix grammar mistake
> v2: Simplify recommendation for either simple or grid table syntax
> Remove example, link to rST user reference
> ---
> Documentation/doc-guide/sphinx.rst | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)

I stumbled across this languishing in my docs folder, sorry ... it's
applied now, thanks.

jon