mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix variable name.
This commit is contained in:
parent
99c3ad9d6d
commit
62c6acfb4f
@ -182,7 +182,7 @@ def xfileref_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
|
||||
target = ws_re.sub('', target).lower()
|
||||
elif typ == 'cfunc':
|
||||
# fix-up parens for C functions too
|
||||
if titleistarget:
|
||||
if not has_explicit_title:
|
||||
title = _fix_parens(typ, title, env)
|
||||
# remove parentheses from the target too
|
||||
if target.endswith('()'):
|
||||
|
Loading…
Reference in New Issue
Block a user