From: Mike Bayer Date: Thu, 5 Jan 2012 21:33:38 +0000 (-0500) Subject: fix the genindex, [ticket:2366] X-Git-Tag: rel_0_6_9~10 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0f143892091d9c9fcf4a21d92aa298d6eb96f113;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix the genindex, [ticket:2366] --- 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