docs: kdoc; Add a rudimentary class to represent output items
authorJonathan Corbet <corbet@lwn.net>
Tue, 1 Jul 2025 21:31:11 +0000 (15:31 -0600)
committerJonathan Corbet <corbet@lwn.net>
Wed, 2 Jul 2025 20:14:24 +0000 (14:14 -0600)
commit60016e0116b8d33f95e797b011799e717766ec13
treea7ad710621d0c76d463d128e7f58e93e9d9e465a
parentd1af2889682e83acc791e2a2191687958b548da1
docs: kdoc; Add a rudimentary class to represent output items

This class is intended to replace the unstructured dict used to accumulate
an entry to pass to an output module.  For now, it remains unstructured,
but it works well enough that the output classes don't notice the
difference.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/lib/kdoc/kdoc_item.py [new file with mode: 0644]
scripts/lib/kdoc/kdoc_parser.py