From 84d21ded4c270deebad88a61ef78356fa6e075ba Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 9 Nov 2016 16:21:53 -0500 Subject: - rtd fixes Change-Id: Ifd065e96676fde5429fd3d5f27c59c960e1ac6bb --- doc/build/templates/genindex.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build/templates/genindex.mako b/doc/build/templates/genindex.mako index 2f45f79..cd47a4e 100644 --- a/doc/build/templates/genindex.mako +++ b/doc/build/templates/genindex.mako @@ -21,7 +21,7 @@ numcols = 1 numitems = 0 %> -% for entryname, (links, subitems, dummy) in entries: +% for entryname, (links, subitems) in [(a, b[0:2]) for a, b in entries]:
% if links: @@ -36,7 +36,7 @@ % if subitems:
- % for subentryname, subentrylinks in subitems: + % for subentryname, subentrylinks in subitems[0:2]:
${subentryname|h} % for j, (unknown, link) in enumerate(subentrylinks[1:]): [${j}] -- cgit v1.2.1