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
6de02c90
Commit
6de02c90
authored
Feb 14, 2018
by
Mihai Baltac
Browse files
small changes package/module documentation templates
parent
dcdf8195
Pipeline
#24924
passed with stages
in 4 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/generation-templates/module.rst
View file @
6de02c90
...
...
@@ -7,6 +7,11 @@
({{ fullname }} module)
{% endif %}
{%- if doc:%}
{{doc}}
{%- endif %}
.. currentmodule:: {{ fullname }}
.. automodule:: {{ fullname }}
...
...
@@ -19,11 +24,6 @@
Summary
-------
{%- if doc:%}
Description:
{{doc}}
{%- endif %}
{%- if exceptions %}
Exceptions:
...
...
docs/generation-templates/package.rst
View file @
6de02c90
...
...
@@ -2,13 +2,16 @@
{{ name }}
{% for item in range(8 + name|length) -%}={%- endfor %}
({{ fullname }} package)
{% else %}
{{ fullname }}
{% for item in range(8 + fullname|length) -%}={%- endfor %}
({{ fullname }} package)
{% endif %}
{%- if doc:%}
{{doc}}
{%- endif %}
.. automodule:: {{ fullname }}
{% if members -%}
:members: {{ members|join(", ") }}
...
...
@@ -48,10 +51,6 @@
{% if members or doc %}
Summary
-------
{%- if doc:%}
Description:
{{doc}}
{%- endif %}
{%- if exceptions %}
...
...
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