Skip to content

Commit cf03d87

Browse files
committed
[no ci] docs: manually add types to types module docstring
Types are not recognized by autodoc, so it seem we have to add them by hand
1 parent 9e40be1 commit cf03d87

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

bayesflow/types/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"""
2+
Custom types.
3+
4+
.. currentmodule:: bayesflow.types
5+
6+
.. autodata:: Shape
7+
.. autodata:: Tensor
8+
"""
9+
110
from .shape import Shape
211
from .tensor import Tensor
312

0 commit comments

Comments
 (0)