diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-12-11 02:16:31 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-12-11 02:16:31 +0000 |
commit | 5ec5518d19c0c8b97c21f5e7bfb2ada9fcfd6754 (patch) | |
tree | 694d382f105a5e514dc63eaeba3cab95656ad250 /doc/build/templates/toc.html | |
parent | 3cad46423f19f1d6ad7d2e1f6f9bd76ff74d21f6 (diff) | |
download | external_python_mako-5ec5518d19c0c8b97c21f5e7bfb2ada9fcfd6754.tar.gz external_python_mako-5ec5518d19c0c8b97c21f5e7bfb2ada9fcfd6754.tar.bz2 external_python_mako-5ec5518d19c0c8b97c21f5e7bfb2ada9fcfd6754.zip |
propigate main body **kwargs to top-level defs
more docs
Diffstat (limited to 'doc/build/templates/toc.html')
-rw-r--r-- | doc/build/templates/toc.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/build/templates/toc.html b/doc/build/templates/toc.html index fe9e9b8..d4ba2f3 100644 --- a/doc/build/templates/toc.html +++ b/doc/build/templates/toc.html @@ -1,24 +1,24 @@ # toc.myt - prints full table of contents listings given toc.TOCElement strucures -<%def name="toc(toc)"> +<%def name="toc(toc, paged=True)"> <div class="topnav"> <a name="full_index"></a> <h3>Table of Contents</h3> - ${printtoc(root=toc,current=None,full=True,children=True,anchor_toplevel=False)} + ${printtoc(root=toc,current=None,full=True,children=True,anchor_toplevel=False, paged=paged)} </div> </%def> -<%def name="printtoc(root,current=None,full=False,children=True,anchor_toplevel=False,extension='html')"> +<%def name="printtoc(root,current=None,full=False,children=True,anchor_toplevel=False,extension='html',paged=True)"> <ul> % for item in root.children: - <li><A style="${item is current and "font-weight:bold;" or "" }" href="${item.get_link(extension=extension,anchor=anchor_toplevel) }">${item.description}</a></li> + <li><A style="${item is current and "font-weight:bold;" or "" }" href="${item.get_link(extension=extension,anchor=anchor_toplevel, usefilename=paged) }">${item.description}</a></li> % if children: - ${printtoc(item, current=current, full=full,children=True,anchor_toplevel=anchor_toplevel)} + ${printtoc(item, current=current, full=full,children=True,anchor_toplevel=True, paged=paged)} % endif % endfor </ul> |