From: Jason Kirtland Date: Wed, 6 Feb 2008 01:32:33 +0000 (+0000) Subject: - clean up the print version of the docs a bit [ticket:745] X-Git-Tag: rel_0_4_3~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bc19046d16798423a0ddaa028733e8f5b8d3e90;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - clean up the print version of the docs a bit [ticket:745] --- diff --git a/doc/build/templates/formatting.html b/doc/build/templates/formatting.html index 825f70f8e6..d9a7aa923c 100644 --- a/doc/build/templates/formatting.html +++ b/doc/build/templates/formatting.html @@ -36,9 +36,9 @@ % if len(item.children) == 0: % if paged: - back to section top + back to section top % else: - back to section top + back to section top % endif % endif diff --git a/doc/build/templates/nav.html b/doc/build/templates/nav.html index 2438303ff7..55fc5e8dca 100644 --- a/doc/build/templates/nav.html +++ b/doc/build/templates/nav.html @@ -45,7 +45,7 @@ <%def name="pagenav(item, paged, extension)"> @@ -73,4 +73,4 @@ Next: ${itemlink(item=item.next, paged=paged, anchor=not paged, extension=extension)} % endif - \ No newline at end of file + diff --git a/doc/build/templates/toc.html b/doc/build/templates/toc.html index ab42afc0ed..0d8f4ca4ca 100644 --- a/doc/build/templates/toc.html +++ b/doc/build/templates/toc.html @@ -6,15 +6,15 @@

Table of Contents

   - (view full table) + (view full table)

${printtoc(root=toc,paged=paged, extension=extension, current=None,children=False,anchor_toplevel=False)}

Table of Contents: Full

   - (view brief table) - + (view brief table) + ${printtoc(root=toc,paged=paged, extension=extension, current=None,children=True,anchor_toplevel=False)} @@ -31,7 +31,7 @@ anchor = False %>
  • ${item.description}
  • - + % if children and item.children:
  • ${printtoc(item, current=current, children=True,anchor_toplevel=True, paged=paged, extension=extension)} diff --git a/doc/docs.css b/doc/docs.css index 4709da5083..72cf4d6a82 100644 --- a/doc/docs.css +++ b/doc/docs.css @@ -198,3 +198,11 @@ h3 { background-color: #900; } +@media print { + #nav { display: none; } + #pagecontrol { display: none; } + .topnav .prevnext { display: none; } + .bottomnav { display: none; } + .totoc { display: none; } + .topnav ul li a { text-decoration: none; color: #000; } +} \ No newline at end of file