summaryrefslogtreecommitdiff
path: root/sphinx/builders
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
commitb75881fc71364a25eb767b2a4f501ced14b7bbfe (patch)
tree8834f9184fbeee1b7f1cddc2b7c8e5b3de60d1f1 /sphinx/builders
parent9b9192c206d2530cc72122370d497934faaf392e (diff)
downloadsphinx-b75881fc71364a25eb767b2a4f501ced14b7bbfe.tar.gz
Fix DevHelp index entries too.
Diffstat (limited to 'sphinx/builders')
-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 a1b41945..62bd2237 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)