Move CSS override to theme because RTD ignores layout.html

RTD bug: https://github.com/rtfd/readthedocs.org/issues/152
This commit is contained in:
Victor Zverovich 2014-10-17 09:15:47 -07:00
parent c90c6805a2
commit 4a818ac785
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,5 @@
{% extends "!layout.html" %} {% extends "!layout.html" %}
{# Custom CSS overrides #}
{% set bootswatch_css_custom = ['_static/cppformat.css'] %}
{%- block content %} {%- block content %}
{{ navBar() }} {{ navBar() }}
<div class="container"> <div class="container">

View File

@ -1,5 +1,8 @@
{% extends "basic/layout.html" %} {% extends "basic/layout.html" %}
{# Custom CSS overrides #}
{% set bootswatch_css_custom = ['_static/cppformat.css'] %}
{% set theme_css_files = [] %} {% set theme_css_files = [] %}
{% if theme_bootstrap_version == "3" %} {% if theme_bootstrap_version == "3" %}
{% set bootstrap_version, bootstrap_additional_css, navbar_version = "3.2.0", "theme", "" %} {% set bootstrap_version, bootstrap_additional_css, navbar_version = "3.2.0", "theme", "" %}