diff options
author | Noel Maersk <veox@users.noreply.github.com> | 2018-05-23 21:53:10 +0800 |
---|---|---|
committer | Noel Maersk <veox@users.noreply.github.com> | 2018-05-23 21:56:51 +0800 |
commit | 7acf5d524431a881b4613759e11244e598b70205 (patch) | |
tree | 049780019d1ef5e3e051194bb22dae225d575d44 | |
parent | 230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85 (diff) | |
download | dexon-solidity-7acf5d524431a881b4613759e11244e598b70205.tar.gz dexon-solidity-7acf5d524431a881b4613759e11244e598b70205.tar.zst dexon-solidity-7acf5d524431a881b4613759e11244e598b70205.zip |
docs: use SolidityLexer from pygments_lexer_solidity package.
-rw-r--r-- | docs/conf.py | 2 | ||||
-rw-r--r-- | docs/requirements.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 7e107f2a..0cc245b5 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 ------------------------------------------------ diff --git a/docs/requirements.txt b/docs/requirements.txt index 0607b1ef..30af17ab 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,2 @@ sphinx_rtd_theme>=0.3.1 +pygments-lexer-solidity>=0.2 |