summary refs log tree commit diff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2016-07-03 10:05:28 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-05 14:38:49 -0300
commitbc21467114b03ce47317cce9a49f0a46cdde50ca (patch)
tree788a108c24c677c3384aefa29879252b63ec1bed /Documentation/conf.py
parentfc833980e3b07015d4fbd3a9d7d16c3d9dc5dc73 (diff)
downloadlinux-bc21467114b03ce47317cce9a49f0a46cdde50ca.tar.gz
doc-rst: boilerplate HTML theme customization
Implements the minimal boilerplate for Sphinx HTML theme customization.

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 792b6338ef19..f35748b4bc26 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -176,7 +176,14 @@ except ImportError:
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-#html_static_path = ['_static']
+
+html_static_path = ['sphinx-static']
+
+html_context = {
+    'css_files': [
+        '_static/theme_overrides.css',
+    ],
+}
 
 # Add any extra paths that contain custom files (such as robots.txt or
 # .htaccess) here, relative to this directory. These files are copied