Skip to content

Commit 9da36c3

Browse files
committed
Add own section for CustomDist in distributions API
1 parent 38f061c commit 9da36c3

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

docs/source/api/distributions.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Distributions
1414
distributions/timeseries
1515
distributions/truncated
1616
distributions/censored
17+
distributions/custom
1718
distributions/simulator
1819
distributions/transforms
1920
distributions/utilities
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
**********
2+
CustomDist
3+
**********
4+
5+
..
6+
Manually follow the template in _templates/distribution.rst.
7+
If at any point, multiple objects are listed here,
8+
the pattern should instead be modified to that of the
9+
other API files such as api/distributions/continuous.rst
10+
11+
.. currentmodule:: pymc
12+
13+
.. autoclass:: CustomDist
14+
15+
.. rubric:: Methods
16+
17+
.. autosummary::
18+
:toctree: classmethods
19+
20+
CustomDist.dist

docs/source/api/distributions/utilities.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Distribution utilities
77
:toctree: generated/
88

99
Continuous
10-
CustomDist
1110
Discrete
1211
Distribution
1312
SymbolicRandomVariable

0 commit comments

Comments
 (0)