-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix internal links in docs #1031
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1031 +/- ##
=======================================
Coverage 88.50% 88.51%
=======================================
Files 45 45
Lines 9582 9586 +4
Branches 2724 2725 +1
=======================================
+ Hits 8481 8485 +4
Misses 778 778
Partials 323 323 ☔ View full report in Codecov by Sentry. |
Here are the warnings that I see when running this locally:
I see the h5py issues like @stephprince i know it's tedious, but could you look into some of the other issues? I see zarr warnings. Can you add Zarr to the intersphinx mapping? That might get rid of those warnings. Can you change "np.ndarray" in docstrings to "numpy.ndarray"? That should resolve those. For
In tutorials, for cases where it is not possible to link to documentation, such as That might get us down to <20 warnings, which is more easily scannable when we look for broken docs. |
Can you also update the sphinx linkcheck workflow to use this flag? |
yes I can take a look at the other issues and update the workflow for this flag. I had just focused on the ones that impacted pynwb, but it looks like there are very similar ones in hdmf as well. For the Edit: I misunderstood the |
I'd say look into it briefly, but no worries if you can't figure it out. There is a lot of sphinx magic here and It's OK if there are some that we cannot figure out. |
It should be down to 9 warnings with these fixes. With the Instead of changing the flags in the workflows, I added |
Thanks for all these fixes. It's amazing how many bad links creep in without automatic link checking. |
Co-authored-by: Ryan Ly <[email protected]>
Looks good to me. Thanks for all these fixes. |
@stephprince could you add the remaining warnings to |
Yes I can do that. It looks like the BaseStorageSpec one also impacts pynwb so I can add it to that nitpick_ignore as well |
Thanks. I don't see |
It looks like it only gave a reference warning on the pynwb side of things when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Motivation
See related PR in NeurodataWithoutBorders/pynwb#1827
There are some broken internal links in the hdmf documentation that impact pynwb as well.
How to test the behavior?
To see linkcheck warnings:
To see updated docs:
Checklist
CHANGELOG.md
with your changes?