summaryrefslogtreecommitdiff
path: root/doc/build/templates/genindex.mako
diff options
context:
space:
mode:
Diffstat (limited to 'doc/build/templates/genindex.mako')
-rw-r--r--doc/build/templates/genindex.mako4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/templates/genindex.mako b/doc/build/templates/genindex.mako
index 2f45f79..cd47a4e 100644
--- a/doc/build/templates/genindex.mako
+++ b/doc/build/templates/genindex.mako
@@ -21,7 +21,7 @@
numcols = 1
numitems = 0
%>
-% for entryname, (links, subitems, dummy) in entries:
+% for entryname, (links, subitems) in [(a, b[0:2]) for a, b in entries]:
<dt>
% if links:
@@ -36,7 +36,7 @@
% if subitems:
<dd><dl>
- % for subentryname, subentrylinks in subitems:
+ % for subentryname, subentrylinks in subitems[0:2]:
<dt><a href="${subentrylinks[0][1]}">${subentryname|h}</a>
% for j, (unknown, link) in enumerate(subentrylinks[1:]):
<a href="${link}">[${j}]</a>