Add LAMMPSLexer for LAMMPS code-blocks in docs

This commit is contained in:
Richard Berger
2019-11-06 16:53:43 -05:00
parent bb18adc745
commit eaef8089a1
6 changed files with 74 additions and 203 deletions

View File

@ -317,3 +317,9 @@ if spelling_spec:
spelling_lang='en_US'
spelling_word_list_filename='false_positives.txt'
sys.path.append(os.path.join(os.path.dirname(__file__), '.'))
import LAMMPSLexer
from sphinx.highlighting import lexers
lexers['LAMMPS'] = LAMMPSLexer.LAMMPSLexer(startinline=True)