From 48d41075fdfe3da28aa4be1cb0e52d8e3ce3db37 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 11 Nov 2013 20:27:40 -0500 Subject: [PATCH] move the css to the base so that the site can override --- doc/build/templates/layout.mako | 8 -------- doc/build/templates/static_base.mako | 10 +++++++++- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 8ba9362e2e..a879fa4819 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -44,17 +44,9 @@ 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 a8ec2329fe..9eb5ec0463 100644 --- a/doc/build/templates/static_base.mako +++ b/doc/build/templates/static_base.mako @@ -9,7 +9,15 @@ <%block name="head_title"> - <%block name="css"/> + + <%block name="css"> + + % for cssfile in self.attr.default_css_files + css_files: + + % endfor + + + <%block name="headers"/> -- 2.47.3