-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add pre-commit check for docs cross-references #5486
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
Conversation
Thanks! Will review asap |
commenting with what I believe are the right sphinx cross references for these links, but we'll still need to check the preview to make sure they work.
No idea about this one, will have to check where it was linking originally, this page is now gone from the docs I think 🤔
This also needs to create the
These need changes to the api quickstart notebook. I can do these changes and then I'll update with the references that should be used.
this also needs updates to the notebook, will get back about them in a bit.
This is actually a valid occurrence of the website 😱 can we skip this file from the checks maybe?
I think these two files are gone 🤔
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
files to be excluded:
|
docs/source/contributing/developer_guide_implementing_distribution.md:26:Before creating a new RandomVariable make sure that it is not offered in the Numpy library.
|
docs/source/glossary.md:14: Choosing which function or method implementation to use based on the type of the input variables (usually just the first variable). For some examples, see Python's documentation for the singledispatch decorator.
|
After ignoring the files the check is passing. |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2022-02-22T03:54:47Z
should be the target, meaning the |
View / edit / reply to this conversation on ReviewNB OriolAbril commented on 2022-02-22T03:54:49Z same here,
You can see on the PR preview at https://pymc--5486.org.readthedocs.build/en/5486/learn/examples/pymc_overview.html#posterior-analysis that the cross reference isn't working like this. It is now searching for a file named arviz within the pymc documentation. |
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Co-authored-by: Oriol Abril-Pla <[email protected]>
Thanks @symeneses! ❤️ |
It closes #5317 in #DataUmbrellaPyMCSprint
Adds a hook to check for
docs.pymc.io
insidedocs/source/
.Depending on what your PR does, here are a few things you might want to address in the description:
This PR should be merged after the existing links are reviewed. The hook is detecting these references to be fixed:
Using “black box” likelihood function by creating a custom Aesara Op <https://docs.pymc.io/notebooks/blackbox_external_likelihood.html>
__RandomVariable
make sure that it is not offered in the Numpy library.docs.pymc.io/en/stable
points to it.