diff options
author | Georg Brandl <georg@python.org> | 2011-11-01 09:26:05 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-11-01 09:26:05 +0100 |
commit | 21cfc46dc30d10d952b00fc237a518fff675a2d9 (patch) | |
tree | 8834f9184fbeee1b7f1cddc2b7c8e5b3de60d1f1 /sphinx/builders/devhelp.py | |
parent | 8fdeaec0184e8ded18c09c12d0ed695d532843e5 (diff) | |
download | sphinx-git-21cfc46dc30d10d952b00fc237a518fff675a2d9.tar.gz |
Fix DevHelp index entries too.
Diffstat (limited to 'sphinx/builders/devhelp.py')
-rw-r--r-- | sphinx/builders/devhelp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/devhelp.py b/sphinx/builders/devhelp.py index a1b419453..62bd22377 100644 --- a/sphinx/builders/devhelp.py +++ b/sphinx/builders/devhelp.py @@ -107,12 +107,12 @@ class DevhelpBuilder(StandaloneHTMLBuilder): pass elif len(refs) == 1: etree.SubElement(functions, 'function', - name=title, link=refs[0]) + name=title, link=refs[0][1]) else: for i, ref in enumerate(refs): etree.SubElement(functions, 'function', name="[%d] %s" % (i, title), - link=ref) + link=ref[1]) if subitems: parent_title = re.sub(r'\s*\(.*\)\s*$', '', title) |