summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-11-09 16:21:53 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2016-11-09 16:21:53 -0500
commit84d21ded4c270deebad88a61ef78356fa6e075ba (patch)
treee6e06b24d96380241f9bbf9dd2286af44808a4d3
parent8e83c7561e3cceb86c4e51461e2fc115f6036bd3 (diff)
downloadmako-84d21ded4c270deebad88a61ef78356fa6e075ba.tar.gz
- rtd fixes
Change-Id: Ifd065e96676fde5429fd3d5f27c59c960e1ac6bb
-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>