summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2018-05-13 16:06:51 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-05-14 17:21:37 +0000
commita78e66e5f4cc032968dc8e6f8e76e550d87dafc8 (patch)
treebd6aa8b80d8b98c9f1ddda7840ebadad36a7c4fc /Documentation/conf.py
parentadc9bdb97a7c2a907e7c8387acea86ae58422c65 (diff)
downloadcoreboot-a78e66e5f4cc032968dc8e6f8e76e550d87dafc8.tar.gz
coreboot-a78e66e5f4cc032968dc8e6f8e76e550d87dafc8.tar.bz2
coreboot-a78e66e5f4cc032968dc8e6f8e76e550d87dafc8.zip
Documentation: Add static CSS file to fix tables
Add a static CSS file to remove annoying scrollbars on rst code tables. Change-Id: I436b36fb7ee9856c7d6ad8534cd0610b7f071b17 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/26263 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 85e0438579e1..f108d77a0f73 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -58,7 +58,13 @@ html_theme = 'sphinx_rtd_theme'
# 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 = ['_static']
+
+html_context = {
+ 'css_files': [
+ '_static/theme_overrides.css', # override wide tables in RTD theme
+ ],
+}
# Output file base name for HTML help builder.
htmlhelp_basename = 'corebootdoc'