diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-05 18:10:46 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-05 18:10:46 -0500 |
commit | 2bdec394ff76a9b84fc35e8b0e9a20f175f9b8a4 (patch) | |
tree | 099aa14ee2dae7d69d68b34c7492225328d25ebc | |
parent | e579e03f70bfbea3942647059ebd2a8a3e0043a3 (diff) | |
download | mako-2bdec394ff76a9b84fc35e8b0e9a20f175f9b8a4.tar.gz |
fix genindex bug
-rw-r--r-- | doc/build/templates/genindex.mako | 10 |
1 files 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 @@ <dt> % if links: - <a href="${links[0]}">${entryname|h}</a> - % for link in links[1:]: + <a href="${links[0][1]}">${entryname|h}</a> + % for unknown, link in links[1:]: , <a href="${link}">[${i}]</a> % endfor % else: ${entryname|h} % endif - + % if subitems: <dd><dl> % for subentryname, subentrylinks in subitems: - <dt><a href="${subentrylinks[0]}">${subentryname|h}</a> - % for j, link in enumerate(subentrylinks[1:]): + <dt><a href="${subentrylinks[0][1]}">${subentryname|h}</a> + % for j, (unknown, link) in enumerate(subentrylinks[1:]): <a href="${link}">[${j}]</a> % endfor </dt> |