Skip to content

Commit

Permalink
Revert documentation config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart committed Jul 15, 2024
1 parent 366b7d7 commit 2469acb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
5 changes: 2 additions & 3 deletions documentation/_templates/autosummary/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@

{{ objname | escape | underline}}

..
rubric:: *module* :mod:`{{ module }}`
.. rubric:: *module* :mod:`{{ module }}`

.. currentmodule:: {{ module }}

{% if objtype == 'property' %}
property
{% endif %}

.. auto{{ objtype }}:: {{ fullname | replace(module + ".", module + "::") }}
.. auto{{ objtype }}:: {{ fullname | replace(module + ".", module + "::") }}
8 changes: 3 additions & 5 deletions documentation/_templates/autosummary/class.rst
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down Expand Up @@ -36,4 +34,4 @@

{% if methods or attributes %}
~~~~~~~~~~~~~~~~~~~~~~~~~~~
{% endif %}
{% endif %}
8 changes: 3 additions & 5 deletions documentation/_templates/autosummary/exception.rst
Original file line number Diff line number Diff line change
@@ -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 %}
Expand All @@ -33,4 +31,4 @@
{%- endif -%}
{%- endfor %}
{% endif %}
{% endblock %}
{% endblock %}

0 comments on commit 2469acb

Please sign in to comment.