-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
9 changed files
with
73 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ cov.xml | |
|
||
# Sphinx documentation | ||
docs/_build/ | ||
docs/_api | ||
|
||
# PyBuilder | ||
target/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
:orphan: | ||
|
||
.. | ||
This page is not included in the TOC tree, but must exist so that the | ||
autosummary pages are generated for python_copier_template_example and all its | ||
subpackages | ||
API | ||
=== | ||
|
||
.. autosummary:: | ||
:toctree: _api | ||
:template: custom-module-template.rst | ||
:recursive: | ||
|
||
python_copier_template_example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{{ ('``' + fullname + '``') | underline }} | ||
|
||
{%- set filtered_members = [] %} | ||
{%- for item in members %} | ||
{%- if item in functions + classes + exceptions + attributes %} | ||
{% set _ = filtered_members.append(item) %} | ||
{%- endif %} | ||
{%- endfor %} | ||
|
||
.. automodule:: {{ fullname }} | ||
:members: | ||
|
||
{% block modules %} | ||
{% if modules %} | ||
.. rubric:: Submodules | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-module-template.rst | ||
:recursive: | ||
{% for item in modules %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block members %} | ||
{% if filtered_members %} | ||
.. rubric:: Members | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
{% for item in filtered_members %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
"""Top level API. | ||
.. data:: __version__ | ||
:type: str | ||
Version number as calculated by https://github.com/pypa/setuptools_scm | ||
""" | ||
|
||
from ._version import __version__ | ||
|
||
__all__ = ["__version__"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters