aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-29 05:59:21 +0800
committerGitHub <noreply@github.com>2018-06-29 05:59:21 +0800
commit29f6ee36d046cd686cfd3ea630a2dc3945d4040f (patch)
tree2040fd44b1a1b9ecda20a28cbd74fa68106a69b1 /docs/conf.py
parentf1bfafedffadad483f66a6450970d1eca7857e8f (diff)
parent3cc780de33cf3a524d80f8b34b57183fe7b93168 (diff)
downloaddexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.tar
dexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.tar.gz
dexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.tar.bz2
dexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.tar.lz
dexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.tar.xz
dexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.tar.zst
dexon-solidity-29f6ee36d046cd686cfd3ea630a2dc3945d4040f.zip
Merge pull request #4368 from wpank/develop
Added static CSS to Sphinx in order to fix bug with RTD theme table wrapping
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index fdb67367..fcf46c11 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -141,7 +141,16 @@ 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 = []
+html_static_path = ['_static']
+
+# A dictionary of values to pass into the template engine’s context for
+# all pages. Single values can also be put in
+# this dictionary using the -A command-line option of sphinx-build.
+html_context = {
+ 'css_files': [
+ '_static/theme_overrides.css', # override wide tables in sphinx_rtd_theme
+ ],
+ }
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied