Add autodoc for lammps.lammps and lammps.NeighList

This commit is contained in:
Richard Berger
2019-11-13 15:54:22 -05:00
parent 28a9dc40cb
commit 62b3e79022
3 changed files with 20 additions and 263 deletions

View File

@ -30,7 +30,9 @@ import os
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.mathjax', 'sphinx.ext.imgmath'
'sphinx.ext.mathjax',
'sphinx.ext.imgmath',
'sphinx.ext.autodoc',
]
# 2017-12-07: commented out, since this package is broken with Sphinx 16.x
# yet we can no longer use Sphinx 15.x, since that breaks with
@ -323,3 +325,5 @@ import LAMMPSLexer
from sphinx.highlighting import lexers
lexers['LAMMPS'] = LAMMPSLexer.LAMMPSLexer(startinline=True)
sys.path.append(os.path.join(os.path.dirname(__file__), '../../../python'))