From d28f2b8f3a5454bdab3e3bb80c0a7550e81e2eb1 Mon Sep 17 00:00:00 2001 From: PeridexisErrant Date: Mon, 28 Sep 2015 12:53:44 +1000 Subject: [PATCH] Get the style working on RDT.org By specifying the root style, we don't need to use a template. --- conf.py | 3 ++- misc/_templates/layout.html | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 misc/_templates/layout.html diff --git a/conf.py b/conf.py index 03fb8a1..cb71d59 100644 --- a/conf.py +++ b/conf.py @@ -32,7 +32,7 @@ extensions = [ ] # Add any paths that contain templates here, relative to this directory. -templates_path = ['misc/_templates'] +templates_path = [] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: @@ -115,6 +115,7 @@ extlinks['DFFD'] = extlinks['dffd'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = 'alabaster' +html_style = 'dftext.css' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/misc/_templates/layout.html b/misc/_templates/layout.html deleted file mode 100644 index 4a00d7f..0000000 --- a/misc/_templates/layout.html +++ /dev/null @@ -1,5 +0,0 @@ -{# layout.html #} -{# Import the theme's layout. #} -{% extends "!layout.html" %} - -{% set css_files = css_files + ['_static/dftext.css'] %} \ No newline at end of file