From: Mike Bayer Date: Tue, 12 Nov 2013 01:20:11 +0000 (-0500) Subject: use an explcit css block X-Git-Tag: rel_0_9_0~125^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bdc2c441d6b5cf43377a0d53191ce4b98302144;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git use an explcit css block --- diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index cbfafccf2c..8ba9362e2e 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -2,14 +2,14 @@ <%! local_script_files = [] -%> -<% - css_files[:0] = [ + + default_css_files = [ '_static/pygments.css', '_static/docs.css', ] %> + <%doc> Structural elements are all prefixed with "docs-" to prevent conflicts when the structure is integrated into the @@ -44,7 +44,17 @@ withsidebar = bool(toc) and current_page_name != 'index'
+<%block name="css"> + + % for cssfile in default_css_files + css_files: + + % endfor + + + <%block name="headers"> + + ${parent.headers()} diff --git a/doc/build/templates/static_base.mako b/doc/build/templates/static_base.mako index 40bf1c68ff..a8ec2329fe 100644 --- a/doc/build/templates/static_base.mako +++ b/doc/build/templates/static_base.mako @@ -9,6 +9,7 @@ <%block name="head_title"> + <%block name="css"/> <%block name="headers"/>