mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: use SolidityLexer from pygments_lexer_solidity package.
This commit is contained in:
parent
230bca37c3
commit
7acf5d5244
@ -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 ------------------------------------------------
|
||||
|
@ -1 +1,2 @@
|
||||
sphinx_rtd_theme>=0.3.1
|
||||
pygments-lexer-solidity>=0.2
|
||||
|
Loading…
Reference in New Issue
Block a user