From 6f3c60379962fb3dff7ae72058996599f9ddcf67 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 11 Nov 2013 20:36:35 -0500 Subject: [PATCH] css updates to better work with RTD badge --- doc/build/templates/layout.mako | 10 ++++++++-- doc/build/templates/static_base.mako | 9 +++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 50f1d5de65..a879fa4819 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -2,8 +2,14 @@ <%! local_script_files = [] + + 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 @@ -38,12 +44,12 @@ withsidebar = bool(toc) and current_page_name != 'index'
+ <%block name="headers"> + ${parent.headers()} - -