Skip to content

Commit 344fdb2

Browse files
author
Jonathan Corbet
committed
kernel-doc: Don't try to mark up function names
We now have better automarkup in sphinx itself and, besides, this markup was incorrect and left :c:func: gunk in the processed docs. Sort of discouraging that nobody ever noticed...:) As a first step toward the removal of impenetrable regex magic from kernel-doc it's a tiny one, but you have to start somewhere. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 9c79df7 commit 344fdb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/kernel-doc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ my @highlights_rst = (
249249
[$type_member_func, "\\:c\\:type\\:`\$1\$2\$3\\\\(\\\\) <\$1>`"],
250250
[$type_member, "\\:c\\:type\\:`\$1\$2\$3 <\$1>`"],
251251
[$type_fp_param, "**\$1\\\\(\\\\)**"],
252-
[$type_func, "\\:c\\:func\\:`\$1()`"],
252+
[$type_func, "\$1()"],
253253
[$type_enum, "\\:c\\:type\\:`\$1 <\$2>`"],
254254
[$type_struct, "\\:c\\:type\\:`\$1 <\$2>`"],
255255
[$type_typedef, "\\:c\\:type\\:`\$1 <\$2>`"],

0 commit comments

Comments
 (0)