Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
b7e4b188
Commit
b7e4b188
authored
Feb 14, 2018
by
Mihai Baltac
Browse files
added full module name in module template
parent
694e8ec9
Pipeline
#24932
passed with stages
in 4 minutes and 54 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/generation-templates/module.rst
View file @
b7e4b188
...
...
@@ -4,8 +4,8 @@
{% else %}
{{ fullname }}
{% for item in range(8 + fullname|length) -%}={%- endfor %}
({{ fullname }} module)
{% endif %}
({{ fullname }} module)
.. currentmodule:: {{ fullname }}
...
...
docs/generation-templates/package.rst
View file @
b7e4b188
{% if name %}
{{ name }}
{% for item in range(8 + name|length) -%}={%- endfor %}
({{ fullname }} package)
{% else %}
{{ fullname }}
{% for item in range(8 + fullname|length) -%}={%- endfor %}
({{ fullname }} package)
{% endif %}
({{ fullname }} package)
.. automodule:: {{ fullname }}
{% if members -%}
...
...
nifty4/spaces/__init__.py
View file @
b7e4b188
"""
Sample documentation for spaces. (or any other package) This will be displayed under
Summary section of module documentation
Sample documentation for spaces. (or any other package) This will be displayed under
the package title in the docs
"""
nifty4/spaces/dof_space.py
View file @
b7e4b188
...
...
@@ -17,7 +17,7 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
"""
Sample documentation for DOF space. (or any other module). This will be displayed under
Summary section of module documentation
Sample documentation for DOF space. (or any other module). This will be displayed under
the module title in the docs
"""
import
numpy
as
np
...
...
Write
Preview
Supports
Markdown
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