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: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Родитель
9e72184b55
Коммит
a19bce6433
|
@ -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>`"],
|
||||||
|
|
Загрузка…
Ссылка в новой задаче