Commit a19bce64 authored by Jani Nikula's avatar Jani Nikula

kernel-doc/rst: reference functions according to C domain spec

The Sphinx C domain spec says function references should include the
parens ().
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 9e72184b
...@@ -280,7 +280,7 @@ my $blankline_text = ""; ...@@ -280,7 +280,7 @@ my $blankline_text = "";
# rst-mode # rst-mode
my @highlights_rst = ( my @highlights_rst = (
[$type_constant, "``\$1``"], [$type_constant, "``\$1``"],
[$type_func, "\\:c\\:func\\:`\$1`"], [$type_func, "\\:c\\:func\\:`\$1()`"],
[$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"],
[$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"],
[$type_struct, "\\:c\\:type\\:`struct \$1 <\$1>`"], [$type_struct, "\\:c\\:type\\:`struct \$1 <\$1>`"],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment