Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
6d342a59
Commit
6d342a59
authored
Jan 08, 2016
by
Robert T. McGibbon
Browse files
Merge pull request #1332 from jchodera/test-docs
Also build the HTML user guide in travis
parents
2ea964da
175ab3d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
.travis.yml
.travis.yml
+4
-1
docs-source/usersguide/application.rst
docs-source/usersguide/application.rst
+2
-0
No files found.
.travis.yml
View file @
6d342a59
...
@@ -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
...
...
docs-source/usersguide/application.rst
View file @
6d342a59
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment