Commit 6d342a59 authored by Robert T. McGibbon's avatar Robert T. McGibbon
Browse files

Merge pull request #1332 from jchodera/test-docs

Also build the HTML user guide in travis
parents 2ea964da 175ab3d6
...@@ -148,9 +148,12 @@ script: ...@@ -148,9 +148,12 @@ script:
- python devtools/run-ctest.py --start-time $START_TIME - python devtools/run-ctest.py --start-time $START_TIME
- if [[ ! -z "${DOCS_DEPLOY}" && "${DOCS_DEPLOY}" = "true" ]]; then - if [[ ! -z "${DOCS_DEPLOY}" && "${DOCS_DEPLOY}" = "true" ]]; then
pip install sphinx sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen; pip install sphinx sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen;
make sphinxhtml;
make C++ApiDocs PythonApiDocs; make C++ApiDocs PythonApiDocs;
mkdir -p api-docs; mkdir -p api-docs;
mv sphinx-docs/userguide api-docs;
mv sphinx-docs/developerguide api-docs;
mv api-python api-docs; mv api-python api-docs;
mv api-c++ api-docs; mv api-c++ api-docs;
fi fi
......
...@@ -2747,10 +2747,12 @@ modified residues, covalently-bound ligands, or unnatural amino acids or bases. ...@@ -2747,10 +2747,12 @@ modified residues, covalently-bound ligands, or unnatural amino acids or bases.
To register a new residue template generator named :code:`generator`, simply call the To register a new residue template generator named :code:`generator`, simply call the
:meth:`registerTemplateGenerator` method on an existing :class:`ForceField` object: :meth:`registerTemplateGenerator` method on an existing :class:`ForceField` object:
:: ::
forcefield.registerTemplateGenerator(generator) forcefield.registerTemplateGenerator(generator)
This :code:`generator` function must conform to the following API: This :code:`generator` function must conform to the following API:
:: ::
def generator(forcefield, residue): def generator(forcefield, residue):
""" """
Parameters Parameters
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment