diff options
author | chriseth <chris@ethereum.org> | 2018-05-28 23:41:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 23:41:35 +0800 |
commit | b686fbbb32aabf24a0de7c9144e421167ff251e1 (patch) | |
tree | 632173819b19b934500e0b8d3a222c42a62b7cab /docs/conf.py | |
parent | 87016693866c9aae4585406803d4f10e0165ecb7 (diff) | |
parent | ad975a6f8c03e6333190de4f88488b207951dc05 (diff) | |
download | dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.tar dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.tar.gz dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.tar.bz2 dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.tar.lz dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.tar.xz dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.tar.zst dexon-solidity-b686fbbb32aabf24a0de7c9144e421167ff251e1.zip |
Merge pull request #4180 from veox/use-pip-solidity-lexer
docs: Use Solidity lexer from PyPI, instead of a local module
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 7e107f2a..fdb67367 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ import re def setup(sphinx): thisdir = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, thisdir + '/utils') - from SolidityLexer import SolidityLexer + from pygments_lexer_solidity import SolidityLexer sphinx.add_lexer('Solidity', SolidityLexer()) # -- General configuration ------------------------------------------------ @@ -112,7 +112,7 @@ highlight_language = 'Solidity' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the |