summaryrefslogtreecommitdiff
path: root/sphinx/builders/devhelp.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-11-01 09:26:05 +0100
committerGeorg Brandl <georg@python.org>2011-11-01 09:26:05 +0100
commit21cfc46dc30d10d952b00fc237a518fff675a2d9 (patch)
tree8834f9184fbeee1b7f1cddc2b7c8e5b3de60d1f1 /sphinx/builders/devhelp.py
parent8fdeaec0184e8ded18c09c12d0ed695d532843e5 (diff)
downloadsphinx-git-21cfc46dc30d10d952b00fc237a518fff675a2d9.tar.gz
Fix DevHelp index entries too.
Diffstat (limited to 'sphinx/builders/devhelp.py')
-rw-r--r--sphinx/builders/devhelp.py4
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)