diff --git a/documentation/_templates/autosummary/base.rst b/documentation/_templates/autosummary/base.rst index 52bf10b46..3ba1e3144 100644 --- a/documentation/_templates/autosummary/base.rst +++ b/documentation/_templates/autosummary/base.rst @@ -4,8 +4,7 @@ {{ objname | escape | underline}} -.. - rubric:: *module* :mod:`{{ module }}` +.. rubric:: *module* :mod:`{{ module }}` .. currentmodule:: {{ module }} @@ -13,4 +12,4 @@ property {% endif %} -.. auto{{ objtype }}:: {{ fullname | replace(module + ".", module + "::") }} +.. auto{{ objtype }}:: {{ fullname | replace(module + ".", module + "::") }} \ No newline at end of file diff --git a/documentation/_templates/autosummary/class.rst b/documentation/_templates/autosummary/class.rst index 757961130..615c3519b 100644 --- a/documentation/_templates/autosummary/class.rst +++ b/documentation/_templates/autosummary/class.rst @@ -1,12 +1,10 @@ {{ objname | escape | underline}} -.. - rubric:: *module* :mod:`{{ module }}` +.. rubric:: *module* :mod:`{{ module }}` .. currentmodule:: {{ module }} -.. autoclass:: {{ fullname }} - :exclude-members: __new__ +.. autoclass:: {{ objname }} {% block methods %} {% if methods %} @@ -36,4 +34,4 @@ {% if methods or attributes %} ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - {% endif %} + {% endif %} \ No newline at end of file diff --git a/documentation/_templates/autosummary/exception.rst b/documentation/_templates/autosummary/exception.rst index e3504e253..e0d9dc9b7 100644 --- a/documentation/_templates/autosummary/exception.rst +++ b/documentation/_templates/autosummary/exception.rst @@ -1,13 +1,11 @@ {{ objname | escape | underline}} -.. - rubric:: *module* :mod:`{{ module }}` +.. rubric:: *module* :mod:`{{ module }}` .. currentmodule:: {{ module }} -.. autoexception:: {{ fullname }} +.. autoexception:: {{ objname }} :no-inherited-members: - :exclude-members: __new__ {% block methods %} {% if methods %} @@ -33,4 +31,4 @@ {%- endif -%} {%- endfor %} {% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file