summaryrefslogtreecommitdiff
path: root/sphinx/directives.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-25 12:32:03 +0000
committerGeorg Brandl <georg@python.org>2008-03-25 12:32:03 +0000
commitba47f283f67aad9151bbf0e4874cdff7bfad8adb (patch)
treead3ab19013aa72073aeafa45628a186d5323679a /sphinx/directives.py
parent649ce723c1e2b9a3bfd6e5677fb484c66983d854 (diff)
downloadsphinx-git-ba47f283f67aad9151bbf0e4874cdff7bfad8adb.tar.gz
Support the image directive.
Diffstat (limited to 'sphinx/directives.py')
-rw-r--r--sphinx/directives.py2
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',