aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2016-07-03 04:05:28 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-05 13:38:49 -0400
commitbc21467114b03ce47317cce9a49f0a46cdde50ca (patch)
tree788a108c24c677c3384aefa29879252b63ec1bed
parentfc833980e3b07015d4fbd3a9d7d16c3d9dc5dc73 (diff)
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>
-rw-r--r--Documentation/conf.py9
-rw-r--r--Documentation/sphinx-static/theme_overrides.css9
2 files changed, 17 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:
176# Add any paths that contain custom static files (such as style sheets) here, 176# Add any paths that contain custom static files (such as style sheets) here,
177# relative to this directory. They are copied after the builtin static files, 177# relative to this directory. They are copied after the builtin static files,
178# so a file named "default.css" will overwrite the builtin "default.css". 178# so a file named "default.css" will overwrite the builtin "default.css".
179#html_static_path = ['_static'] 179
180html_static_path = ['sphinx-static']
181
182html_context = {
183 'css_files': [
184 '_static/theme_overrides.css',
185 ],
186}
180 187
181# Add any extra paths that contain custom files (such as robots.txt or 188# Add any extra paths that contain custom files (such as robots.txt or
182# .htaccess) here, relative to this directory. These files are copied 189# .htaccess) here, relative to this directory. These files are copied
diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css
new file mode 100644
index 000000000000..4d670dbf7ffa
--- /dev/null
+++ b/Documentation/sphinx-static/theme_overrides.css
@@ -0,0 +1,9 @@
1/* -*- coding: utf-8; mode: css -*-
2 *
3 * Sphinx HTML theme customization
4 *
5 */
6
7@media screen {
8
9}