From 97e5f8e7d764bdd79a7399899880a55b8b1fdfd5 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 11 Nov 2013 19:45:43 -0500 Subject: [PATCH] attempt to use the css_files list so that we can integrate css better with rtd --- doc/build/templates/layout.mako | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 50f1d5de65..cbfafccf2c 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -3,6 +3,12 @@ <%! local_script_files = [] %> +<% + css_files[:0] = [ + '_static/pygments.css', + '_static/docs.css', + ] +%> <%doc> Structural elements are all prefixed with "docs-" @@ -42,8 +48,6 @@ withsidebar = bool(toc) and current_page_name != 'index' ${parent.headers()} - -