From 2bdec394ff76a9b84fc35e8b0e9a20f175f9b8a4 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 5 Jan 2012 18:10:46 -0500 Subject: fix genindex bug --- doc/build/templates/genindex.mako | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/build/templates/genindex.mako b/doc/build/templates/genindex.mako index 4933da4..5bbf1f1 100644 --- a/doc/build/templates/genindex.mako +++ b/doc/build/templates/genindex.mako @@ -25,19 +25,19 @@
% if links: - ${entryname|h} - % for link in links[1:]: + ${entryname|h} + % for unknown, link in links[1:]: , [${i}] % endfor % else: ${entryname|h} % endif - + % if subitems:
% for subentryname, subentrylinks in subitems: -
${subentryname|h} - % for j, link in enumerate(subentrylinks[1:]): +
${subentryname|h} + % for j, (unknown, link) in enumerate(subentrylinks[1:]): [${j}] % endfor
-- cgit v1.2.3