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
019480d6
Commit
019480d6
authored
Nov 04, 2015
by
Robert McGibbon
Browse files
Nicer with napoleon I think
parent
292f9ab5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
docs-source/api-python/conf.py
docs-source/api-python/conf.py
+12
-3
No files found.
docs-source/api-python/conf.py
View file @
019480d6
...
@@ -5,7 +5,7 @@ import os
...
@@ -5,7 +5,7 @@ import os
import
simtk.openmm.version
import
simtk.openmm.version
extensions
=
[
'sphinx.ext.mathjax'
,
'sphinx.ext.ifconfig'
,
'sphinx.ext.autosummary'
,
extensions
=
[
'sphinx.ext.mathjax'
,
'sphinx.ext.ifconfig'
,
'sphinx.ext.autosummary'
,
'sphinx.ext.autodoc'
,
'
numpydoc
'
,
'process-docstring'
]
'sphinx.ext.autodoc'
,
'
sphinx.ext.napoleon
'
,
'process-docstring'
]
autosummary_generate
=
True
autosummary_generate
=
True
autodoc_default_flags
=
[
'members'
,
'inherited-members'
]
autodoc_default_flags
=
[
'members'
,
'inherited-members'
]
...
@@ -45,5 +45,14 @@ html_static_path = ['_static']
...
@@ -45,5 +45,14 @@ html_static_path = ['_static']
autodoc_member_order
=
'bysource'
autodoc_member_order
=
'bysource'
# stackoverflow.com/questions/12206334
# Napoleon settings
numpydoc_show_class_members
=
False
napoleon_google_docstring
=
False
napoleon_numpy_docstring
=
True
napoleon_include_private_with_doc
=
False
napoleon_include_special_with_doc
=
True
napoleon_use_admonition_for_examples
=
False
napoleon_use_admonition_for_notes
=
False
napoleon_use_admonition_for_references
=
False
napoleon_use_ivar
=
False
napoleon_use_param
=
True
napoleon_use_rtype
=
True
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