From 2c3a9f3436146e2f874c90aabf5801ce5e1e1374 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 5 Jan 2012 16:34:04 -0500 Subject: [PATCH] fix the genindex, [ticket:2366] --- 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 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
-- 2.47.3