From 0f143892091d9c9fcf4a21d92aa298d6eb96f113 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 5 Jan 2012 16:33:38 -0500 Subject: [PATCH] fix the genindex, [ticket:2366] --- doc/build/templates/genindex.mako | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/build/templates/genindex.mako b/doc/build/templates/genindex.mako index b8f776dd26..b1a44f56d0 100644 --- a/doc/build/templates/genindex.mako +++ b/doc/build/templates/genindex.mako @@ -23,8 +23,8 @@
% if links: - ${entryname|h} - % for link in links[1:]: + ${entryname|h} + % for unknown, link in links[1:]: , [${i}] % endfor % else: @@ -34,8 +34,8 @@ % 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
-- 2.47.3