[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ca5ef73b-c394-4c63-b47d-40f2ff61ef42@gmail.com>
Date: Mon, 17 Nov 2025 11:39:52 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: Masaharu Noguchi <nogunix@...il.com>
Cc: corbet@....net, linux-f2fs-devel@...ts.sourceforge.net,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
bagasdotme@...il.com, jaegeuk@...nel.org, chao@...nel.org
Subject: Re: [PATCH v4] docs: f2fs: wrap ASCII tables in literal blocks to fix
LaTeX build
On Sun, 16 Nov 2025 19:26:44 +0900, Masaharu Noguchi wrote:
> Sphinx LaTeX builder fails on nested tables in f2fs.rst, producing:
>
> “Markup is unsupported in LaTeX: longtable does not support nesting a table.”
>
> Wrap the affected ASCII tables in literal code blocks so Sphinx renders them
> verbatim. This avoids nested longtables and fixes the LaTeX build on Sphinx 8.2.x.
>
> Changes in v4:
> - Rebased on 62242ac51061
> - Cleaned up Changelog placement (move version history above '---')
This is not what I asked by saying:
These background and change history should go out of the Changelog area.
Changelog ends at '---'. See:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#commentary
> - Verified `make htmldocs` and `make pdfdocs` build fine
>
> Changes in v3:
> - Replace TABs inside ASCII tables with spaces
>
> Changes in v2:
> - Wrap nested ASCII tables in literal blocks and fix missing blank lines
>
> Acked-by: Bagas Sanjaya <bagasdotme@...il.com>
> Reviewed-by: Akira Yokosawa <akiyks@...il.com>
> Signed-off-by: Masaharu Noguchi <nogunix@...il.com>
>
> Link: https://www.spinics.net/lists/kernel/msg5921848.html
> Link: https://www.spinics.net/lists/kernel/msg5918264.html
> Link: https://www.spinics.net/lists/kernel/msg5875662.html
> ---
> Documentation/filesystems/f2fs.rst | 131 +++++++++++++++--------------
> 1 file changed, 69 insertions(+), 62 deletions(-)
./scripts/checkpatch.pl emits the following:
------------------------------------------------------------------------
WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#26:
“Markup is unsupported in LaTeX: longtable does not support nesting a table.”
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 62242ac51061 ("Documentation: f2fs: Reword title")'
#32:
- Rebased on 62242ac51061
WARNING: Use lore.kernel.org archive links when possible - see https://lore.kernel.org/lists.html
#46:
Link: https://www.spinics.net/lists/kernel/msg5921848.html
WARNING: Use lore.kernel.org archive links when possible - see https://lore.kernel.org/lists.html
#47:
Link: https://www.spinics.net/lists/kernel/msg5918264.html
WARNING: Use lore.kernel.org archive links when possible - see https://lore.kernel.org/lists.html
#48:
Link: https://www.spinics.net/lists/kernel/msg5875662.html
------------------------------------------------------------------------
Also, please apply your patch on your own before submitting it and
see the Changelog looks good to you.
Thanks, Akira
Powered by blists - more mailing lists