summaryrefslogtreecommitdiffstats
path: root/opnfv-theme/sphinx_opnfv_theme/layout.html
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-03-28 10:27:51 -0700
committerSofia Wallin <sofia.wallin@ericsson.com>2018-04-24 11:12:41 +0000
commitca86d4473be919ae5ba859e64c0a0cfa69867e4b (patch)
tree87f9f3237489b8a062ea03226c7e4e3bb775e854 /opnfv-theme/sphinx_opnfv_theme/layout.html
parentc69218ae706ff28ae0380a618d7066c84b07e70a (diff)
Update OPNFV Sphinx Theme
When the theme was initially created I was under the assumption the directory the theme lives under needs to match the name. This does not seem to be the case and in fact seems to cause issues with correctly importing and using the theme. Includes formatting updates to the README and linting. Change-Id: I67c834bfe9dc99252159394ecbf136d9a264e0a8 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> (cherry picked from commit bd331b2451a17eaf5ed8f6fc8aa89f0499031c28)
Diffstat (limited to 'opnfv-theme/sphinx_opnfv_theme/layout.html')
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/layout.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/opnfv-theme/sphinx_opnfv_theme/layout.html b/opnfv-theme/sphinx_opnfv_theme/layout.html
new file mode 100644
index 000000000..ddd674cf1
--- /dev/null
+++ b/opnfv-theme/sphinx_opnfv_theme/layout.html
@@ -0,0 +1,5 @@
+{# Import the theme's layout. #}
+{% extends "bootstrap/layout.html" %}
+
+{# Custom CSS overrides #}
+{% set css_files = css_files + ['_static/my-styles.css'] %}