From: Mike Bayer Date: Thu, 5 Jan 2012 21:34:04 +0000 (-0500) Subject: fix the genindex, [ticket:2366] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c3a9f3436146e2f874c90aabf5801ce5e1e1374;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 bdb699a660..b1a44f56d0 100644 --- a/doc/build/templates/genindex.mako +++ b/doc/build/templates/genindex.mako @@ -23,19 +23,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