Skip to content
Snippets Groups Projects
Commit aa8be868 authored by Bienchen's avatar Bienchen
Browse files

Documentation

parent ba03508f
Branches
Tags
No related merge requests found
......@@ -2,6 +2,7 @@ set(CORE_RST
index.rst
argcheck.rst
helper.rst
setcompoundschemlib.rst
)
add_doc_source(NAME core RST ${CORE_RST})
:func:`~promod3.SetCompoundsChemlib`
================================================================================
.. currentmodule:: promod3
This is the one function defined on the highest level of |project|'s module
hierarchy. It is used to load an |ost_s| compound library to avoid running
|python| code via the ancient |ost_s| wrapper. Applying this function at
top-level, we can set a decent default by |cmake| plus the library is
immediately available just by invoking **any** |project| module. You do not
need to call this function, only if you want to load a different chemical
components dictionary.
.. autofunction:: SetCompoundsChemlib
.. LocalWords: func promod SetCompoundsChemlib currentmodule ost cmake
.. LocalWords: autofunction
......@@ -7,7 +7,7 @@ from ost import conop
from ost import io
def SetCompoundsChemlib(path_to_chemlib=@OST_COMPOUNDS_CHEMLIB_PATH@):
"""
"""SetCompoundsChemlib(path_to_chemlib)
Load a compounds library. Does not return anything, the library is just
enabled globally.
......
......@@ -38,6 +38,9 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest',
'sphinx.ext.ifconfig', 'sphinx.ext.viewcode',
'sphinx.ext.extlinks', 'cmake']
# Check first line of docstring for signatures (autofunction)
autodoc_docstring_signature = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
......
......@@ -9,6 +9,7 @@ Contents:
.. toctree::
:maxdepth: 2
core/setcompoundschemlib
core/index
rawmodel/index
buildsystem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment