Skip to content

Commit

Permalink
Add links to DistributionsAD docs
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Oct 8, 2024
1 parent 8f1585d commit 263adc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ links = InterLinks(
"AbstractPPL" => "https://turinglang.org/AbstractPPL.jl/dev/objects.inv",
"ADTypes" => "https://sciml.github.io/ADTypes.jl/stable/objects.inv",
"AdvancedVI" => "https://turinglang.org/AdvancedVI.jl/v0.2.8/objects.inv",
"DistributionsAD" => "https://turinglang.org/DistributionsAD.jl/stable/objects.inv",
)

# Doctest setup
Expand Down
12 changes: 5 additions & 7 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,11 @@ Distributions.BernoulliLogit

### Tools to work with distributions

TODO: DistributionsAD needs docs

| Exported symbol | Documentation | Description |
|:--------------- |:--------------------------------- |:-------------------------------------------------------------- |
| `filldist` | `DistributionsAD.filldist` | Create a product distribution from a distribution and integers |
| `arraydist` | `DistributionsAD.arraydist` | Create a product distribution from an array of distributions |
| `NamedDist` | [`DynamicPPL.NamedDist`](@extref) | A distribution that carries the name of the variable |
| Exported symbol | Documentation | Description |
|:--------------- |:-------------------------------------- |:-------------------------------------------------------------- |
| `filldist` | [`DistributionsAD.filldist`](@extref) | Create a product distribution from a distribution and integers |
| `arraydist` | [`DistributionsAD.arraydist`](@extref) | Create a product distribution from an array of distributions |
| `NamedDist` | [`DynamicPPL.NamedDist`](@extref) | A distribution that carries the name of the variable |

### Predictions

Expand Down

0 comments on commit 263adc9

Please sign in to comment.