diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-07-16 11:07:54 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-07-16 11:07:54 -0400 |
| commit | 1dc09bf6ede97ef08b2c8c0886a03b44bba735ff (patch) | |
| tree | ea52ef4a41b8bf5a1b6433841e468ce39d8c48fe | |
| parent | fce89ccf0c5561ff4747371619646aadc88c37cf (diff) | |
| download | sqlalchemy-1dc09bf6ede97ef08b2c8c0886a03b44bba735ff.tar.gz | |
genindex is 100% valid
| -rw-r--r-- | doc/build/templates/genindex.mako | 35 | ||||
| -rw-r--r-- | doc/build/templates/static_base.mako | 2 |
2 files changed, 20 insertions, 17 deletions
diff --git a/doc/build/templates/genindex.mako b/doc/build/templates/genindex.mako index fce20f28d..0a25b6724 100644 --- a/doc/build/templates/genindex.mako +++ b/doc/build/templates/genindex.mako @@ -14,7 +14,7 @@ % for i, (key, entries) in enumerate(genindexentries): <h2 id="${key}">${key}</h2> -<table width="100%" class="indextable"><tr><td width="33%" valign="top"> +<table width="100%" class="indextable genindextable"><tr><td width="33%" valign="top"> <dl> <% breakat = genindexcounts[i] // 2 @@ -32,30 +32,33 @@ % else: ${entryname|h} % endif +</dt> % if subitems: - <dd><dl> - % for subentryname, subentrylinks in subitems: - <dt><a href="${subentrylinks[0][1]}">${subentryname|h}</a> - % for j, (unknown, link) in enumerate(subentrylinks[1:]): - <a href="${link}">[${j}]</a> - % endfor - </dt> - % endfor - </dl></dd> - % endif - <% + <dd><dl> + % for subentryname, subentrylinks in subitems: + <dt><a href="${subentrylinks[0][1]}">${subentryname|h}</a> + % for j, (unknown, link) in enumerate(subentrylinks[1:]): + <a href="${link}">[${j}]</a> + % endfor + </dt> + % endfor + </dl></dd> + % endif + + <% numitems = numitems + 1 + len(subitems) - %> - % if numcols <2 and numitems > breakat: + %> + % if numcols <2 and numitems > breakat: <% numcols = numcols + 1 %> </dl></td><td width="33%" valign="top"><dl> -% endif + % endif % endfor -</dl></td></tr></table> +<dt></dt></dl> +</td></tr></table> % endfor <%def name="sidebarrel()"> diff --git a/doc/build/templates/static_base.mako b/doc/build/templates/static_base.mako index 134c0d00a..40bf1c68f 100644 --- a/doc/build/templates/static_base.mako +++ b/doc/build/templates/static_base.mako @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ${metatags and metatags or ''} |
