doc-rst: boilerplate HTML theme customization
authorMarkus Heiser <markus.heiser@darmarIT.de>
Sun, 3 Jul 2016 08:05:28 +0000 (10:05 +0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 5 Jul 2016 17:38:49 +0000 (14:38 -0300)
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>
Documentation/conf.py
Documentation/sphinx-static/theme_overrides.css [new file with mode: 0644]

index 792b633..f35748b 100644 (file)
@@ -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
diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css
new file mode 100644 (file)
index 0000000..4d670db
--- /dev/null
@@ -0,0 +1,9 @@
+/* -*- coding: utf-8; mode: css -*-
+ *
+ * Sphinx HTML theme customization
+ *
+ */
+
+@media screen {
+
+}