From 4a818ac78519326e5dc0f71276685080903804ef Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 17 Oct 2014 09:15:47 -0700 Subject: [PATCH] Move CSS override to theme because RTD ignores layout.html RTD bug: https://github.com/rtfd/readthedocs.org/issues/152 --- doc/_templates/layout.html | 3 --- doc/bootstrap/layout.html | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 8c17ae90..ea77b2d1 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -1,8 +1,5 @@ {% extends "!layout.html" %} -{# Custom CSS overrides #} -{% set bootswatch_css_custom = ['_static/cppformat.css'] %} - {%- block content %} {{ navBar() }}
diff --git a/doc/bootstrap/layout.html b/doc/bootstrap/layout.html index 51a552df..dbefaaef 100644 --- a/doc/bootstrap/layout.html +++ b/doc/bootstrap/layout.html @@ -1,5 +1,8 @@ {% extends "basic/layout.html" %} +{# Custom CSS overrides #} +{% set bootswatch_css_custom = ['_static/cppformat.css'] %} + {% set theme_css_files = [] %} {% if theme_bootstrap_version == "3" %} {% set bootstrap_version, bootstrap_additional_css, navbar_version = "3.2.0", "theme", "" %}