]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
docs: parse-headers.py: simplify the rules for hashes
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 22 Aug 2025 14:19:17 +0000 (16:19 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 29 Aug 2025 21:54:42 +0000 (15:54 -0600)
commit37497a4dc5ecd40f861fad3a436978394d1e97fa
tree2f826cc71474d313289090b11b55f0b21d67090b
parent285b8d3db2bae79c01d604701c3faddb456aca93
docs: parse-headers.py: simplify the rules for hashes

Normal :ref domain accept either hashes or underscores, but
c-domain ones don't. Fix it and remove unneeded places where
we opt to disable underscore transformation.

Ideally, we should have a rule about the default, or change
the way media docs have their references.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/0c011090272f7a1068545409222f970ddb1ed431.1755872208.git.mchehab+huawei@kernel.org
Documentation/sphinx/parse-headers.py