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
dcdf8195
Commit
dcdf8195
authored
Feb 14, 2018
by
Mihai Baltac
Browse files
small changes package/module documentation templates
parent
f58dceeb
Pipeline
#24923
passed with stages
in 4 minutes and 33 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/generate.sh
View file @
dcdf8195
rm
-rf
docs/build docs/source/mod
python docs/better_apidoc.py
-l
-e
-d
2
-t
docs/generation-templates
-o
docs/source/mod nifty4
python docs/better_apidoc.py
-l
-e
-d
3
-t
docs/generation-templates
-o
docs/source/mod nifty4
sphinx-build
-b
html docs/source/ docs/build/
docs/generation-templates/module.rst
View file @
dcdf8195
...
...
@@ -18,9 +18,11 @@
Summary
-------
{% if doc:%}
{%- if doc:%}
Description:
{{doc}}
{% endif %}
{%
-
endif %}
{%- if exceptions %}
...
...
docs/generation-templates/package.rst
View file @
dcdf8195
...
...
@@ -20,7 +20,8 @@
{% if submodules %}
Submodules:
Submodules
----------
.. toctree::
:maxdepth: 1
...
...
@@ -32,7 +33,8 @@
{% if subpackages %}
Subpackages:
Subpackages
-----------
.. toctree::
:maxdepth: 1
...
...
@@ -46,9 +48,10 @@
{% if members or doc %}
Summary
-------
{% if doc:%}
{%- if doc:%}
Description:
{{doc}}
{% endif %}
{%
-
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