Skip to content

Commit

Permalink
Changed autosummary module template
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenczel committed May 29, 2024
1 parent 7c72fd6 commit 53162e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
7 changes: 7 additions & 0 deletions doc/_templates/module.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{ ["Module ", fullname] | join | escape | underline}}

.. automodule:: {{ fullname }}
:members:
:undoc-members:
:show-inheritance:
:private-members:
10 changes: 3 additions & 7 deletions doc/apidoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ qutip\_qoc package
===================


.. toctree::
:maxdepth: 1


High-level interfaces
---------------------
High-level interfaces to the optimal control features.

.. autosummary::
:toctree: apidoc/
:template: apidoc/module.rst
:template: module.rst

qutip_qoc.pulse_optim

Expand All @@ -23,7 +19,7 @@ Optimal control utility functions.

.. autosummary::
:toctree: apidoc/
:template: apidoc/module.rst
:template: module.rst

qutip_qoc.result
qutip_qoc.objective
Expand All @@ -34,7 +30,7 @@ Internal interfaces to the optimal control features.

.. autosummary::
:toctree: apidoc/
:template: apidoc/module.rst
:template: module.rst

qutip_qoc._optimizer
qutip_qoc._goat
Expand Down
1 change: 0 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def qutip_qoc_version():
# functions/classes. However, pay attention that some api docs files are
# adjusted manually for better illustration and should not be overwritten.
autosummary_generate = True
autosummary_imported_members = True

# -- Options for biblatex ---------------------------------------

Expand Down

0 comments on commit 53162e2

Please sign in to comment.