-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically generate lists in documentation #221
base: main
Are you sure you want to change the base?
Dynamically generate lists in documentation #221
Conversation
What do the For distributions we also need a way to specify usage: the links refer to the We will also find a way to document the use with |
Yes, we definitely need to exclude those. They come from all the module-level |
We could also show a single example that explains most/all other cases; otherwise, we could attempt to generate RST for complete examples, but that seems like a lot. |
It is a lot, but it doesn't need to be done right now. |
I added a commit that excludes the |
I have added a directive to list the invertible transforms, but it would be nice to have it displayed as |
1e5e1c2
to
d44de24
Compare
Those additions looks greatm thanks! Yeah, I think AutoAPI might help, but I'll have to take another look at the details, because I don't remember much about them. |
I'm still hoping to get the transformations nicely documented here. For instance generating something like the following directive:
|
7c49e9d
to
1a1d422
Compare
This PR adds a custom
SphinxDirective
that dynamically generates cross-reference links toRandomVariable
s in Aesara that are supported bylogprob
(i.e. that have a registered dispatch). See here for the results.Op
s andRVTransform
s in the "Invertible Transforms" section