aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-04 04:40:51 +0800
committerGitHub <noreply@github.com>2018-07-04 04:40:51 +0800
commit16f8c23aa01ae9472088e46224dd089153540291 (patch)
tree256e72df364d0abcca228c75769ba5820fc7523f /docs/conf.py
parent672bc7fc006738d4f61342d692e13a58edf47679 (diff)
parenta673785326d85fc0a2b27542c329b5dff8d397f4 (diff)
downloaddexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.tar
dexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.tar.gz
dexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.tar.bz2
dexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.tar.lz
dexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.tar.xz
dexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.tar.zst
dexon-solidity-16f8c23aa01ae9472088e46224dd089153540291.zip
Merge pull request #4367 from shad-k/fix/issue-4238
Add custom.css for docs to change pre tag styles
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/docs/conf.py b/docs/conf.py
index fcf46c11..55f4f1a8 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,6 +27,8 @@ def setup(sphinx):
from pygments_lexer_solidity import SolidityLexer
sphinx.add_lexer('Solidity', SolidityLexer())
+ sphinx.add_stylesheet('css/custom.css')
+
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -141,16 +143,7 @@ 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']
-
-# 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
- ],
- }
+html_static_path = []
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied