<%inherit file="base.html"/>
<%namespace name="tocns" file="toc.html"/>
<%namespace name="nav" file="nav.html"/>
<%page args="toc, extension"/>

${tocns.toc(toc, extension=extension, paged=False)}

<%def name="title()">
    SQLAlchemy Documentation
</%def>

% for file in toc.filenames:
    <%
        item = toc.get_by_file(file)
    %>
    
    <A name="${item.path}"></a>

    % if not item.requires_paged:
        ${nav.pagenav(item=item, paged=False, extension=extension)}

        ${self.get_namespace(file + '.html').body(toc=toc, extension=extension, paged=False)}
    % endif
% endfor

