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 | b75881fc71364a25eb767b2a4f501ced14b7bbfe (patch) | |
| tree | 8834f9184fbeee1b7f1cddc2b7c8e5b3de60d1f1 /sphinx/builders | |
| parent | 9b9192c206d2530cc72122370d497934faaf392e (diff) | |
| download | sphinx-b75881fc71364a25eb767b2a4f501ced14b7bbfe.tar.gz | |
Fix DevHelp index entries too.
Diffstat (limited to 'sphinx/builders')
| -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 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) |
