]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: kdoc_output: fix handling of simple tables
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 23 Mar 2026 09:10:49 +0000 (10:10 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 25 Mar 2026 19:36:46 +0000 (13:36 -0600)
commit8326e4a21838593fe67b5d79ba6d0dc8e962ebb9
treed54393fd7173e44bb22c878c67e36ad1091b39af
parentbc63427c4d1031c761639aa42ae5a77beabfa98b
docs: kdoc_output: fix handling of simple tables

Fix check for simple table delimiters.

ReST simple tables use "=" instead of "-". I ended testing it with
a table modified from a complex one, using "--- --- ---", instead
of searching for a real Kernel example.

Only noticed when adding an unit test and seek for an actual
example from kernel-doc markups.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <dea95337c05040f95e5a95ae41d69ddef0aaa8d6.1774256269.git.mchehab+huawei@kernel.org>
tools/lib/python/kdoc/kdoc_output.py