]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc_yaml_file: add a representer to make strings look nicer
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 23 Mar 2026 09:10:47 +0000 (10:10 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 25 Mar 2026 19:36:45 +0000 (13:36 -0600)
commit6e0d7b63676b85490bbaf01c9a8ebcd692bed981
treea0785eb4fb169db0fa3045599da0871433b9d77a
parente896174e466f593f3a62fd4dd779e6686bf32f40
docs: kdoc_yaml_file: add a representer to make strings look nicer

The strings representation is not ok, currently. Add a helper
function to improve it, and drop blank lines at beginning and
at the end of the dumps

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