Skip to content

Commit f278b76

Browse files
authored
Release 2.3.0 (#84)
1 parent 7551efc commit f278b76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1063
-444
lines changed

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Include data
2+
include LICENSE
23
recursive-include pyhelpers/data *
34

45
# Exclude tests
56
prune tests
7+
prune tutorials
8+
prune venv
9+
prune dist

docs/source/_templates/class.rst

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,40 @@
33
.. currentmodule:: {{ module }}.{{ objname }}
44

55
.. autoclass:: {{ module }}.{{ objname }}
6+
67
{% block attributes %}
7-
{% if attributes %}
8+
{% set ns = namespace(attrs=[]) %}
9+
{% for item in all_attributes %}
10+
{% if not item.startswith('_') %}
11+
{% set _ = ns.attrs.append(item) %}
12+
{% endif %}
13+
{% endfor %}
14+
{% if ns.attrs %}
815
.. rubric:: {{ _('Attributes') }}
916
.. autosummary::
1017
:template: base.rst
1118
:toctree:
12-
{% for item in all_attributes %}
13-
{%- if not item.startswith('_') %}
19+
{% for item in ns.attrs %}
1420
{{ item }}
15-
{%- endif -%}
16-
{%- endfor %}
21+
{% endfor %}
1722
{% endif %}
1823
{% endblock %}
24+
1925
{% block methods %}
20-
{% if methods %}
26+
{% set ns = namespace(methods=[]) %}
27+
{% for item in all_methods %}
28+
{% if not item.startswith('_') or item in ['__call__'] %}
29+
{% set _ = ns.methods.append(item) %}
30+
{% endif %}
31+
{% endfor %}
32+
{% if ns.methods %}
2133
.. rubric:: {{ _('Methods') }}
2234
.. autosummary::
2335
:template: base.rst
2436
:toctree:
25-
{% for item in all_methods %}
26-
{%- if not item.startswith('_') or item in ['__call__'] %}
37+
{% for item in ns.methods %}
2738
{{ item }}
28-
{%- endif -%}
29-
{%- endfor %}
39+
{% endfor %}
3040
{% endif %}
3141
{% endblock %}
3242

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313

1414
# == Project information ===========================================================================
15-
from pyhelpers import (__affil__, __author__, __copyright__, __desc__, __pkgname__, __project__,
16-
__version__, __first_release__)
15+
from pyhelpers import __affil__, __author__, __copyright__, __desc__, __first_release__, \
16+
__pkgname__, __project__, __version__
1717

1818
# General information about the project:
1919
project = __project__

docs/source/modules.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The current release includes the following modules, with each containing a numbe
1515
geom
1616
text
1717
dbms
18+
viz
1819

1920
.. toctree::
2021
:maxdepth: 2
@@ -27,3 +28,4 @@ The current release includes the following modules, with each containing a numbe
2728
geom
2829
text
2930
dbms
31+
viz

0 commit comments

Comments
 (0)