]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: sphinx-build-wrapper: better handle troff .TH markups
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 6 Mar 2026 15:45:39 +0000 (16:45 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 9 Mar 2026 16:34:38 +0000 (10:34 -0600)
commit5828d3564729e61306456fae02e9d0dc9f2e772d
treec554ee35e3517ef1018e5d5f60d0a075d15a95bd
parent0d3ab0e4bbfd688bfaef66b6365a71c70a0f0450
docs: sphinx-build-wrapper: better handle troff .TH markups

Using a regular expression to match .TH is problematic, as it
doesn't handle well quotation marks.

Use shlex instead.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <9436806316d33aaf68625c00ce068463d3917660.1772810752.git.mchehab+huawei@kernel.org>
tools/docs/sphinx-build-wrapper