Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigYanitski committed Feb 4, 2024
1 parent 2af0532 commit f32f5d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/_templates/custom-function-template_copy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{%- set shortname = '.'.join(fullname.split('.')[1:]) %}
.. _{{ shortname }}:

{{ shortname | escape | underline }}

.. current module:: {{ module }}
.. auto{{ objtype }}:: {{objname }}
2 changes: 1 addition & 1 deletion docs/_templates/custom-subpackage-template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

.. autosummary::
:toctree:
:template: custom-function-template.rst
:template: custom-function-template_copy.rst
:nosignatures:
{% for item in functions %}
{%- set shortitem = '.'.join(item.split('.')[1:]) %}
Expand Down

0 comments on commit f32f5d9

Please sign in to comment.