diff options
Diffstat (limited to 'sphinx/directives.py')
-rw-r--r-- | sphinx/directives.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives.py b/sphinx/directives.py index 781ea2c22..50662e34c 100644 --- a/sphinx/directives.py +++ b/sphinx/directives.py @@ -352,7 +352,7 @@ def desc_directive(desctype, arguments, options, content, lineno, signode['ids'].append(fullname) signode['first'] = (not names) state.document.note_explicit_target(signode) - env.note_descref(fullname, desctype) + env.note_descref(fullname, desctype, lineno) names.append(name) env.note_index_entry('single', |