-
Notifications
You must be signed in to change notification settings - Fork 504
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
Add nitpicky
option to doc config to prevent broken links
#6203
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6203 +/- ##
=======================================
Coverage 97.50% 97.50%
=======================================
Files 143 143
Lines 28188 28188
=======================================
Hits 27485 27485
Misses 703 703
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
There are 252 broken links to work through, which will take time to resolve. |
Let's fix it step by step. |
473 errors now, though a lot of these are related to annotations. The links to ArrayLike, etc are known to be broken for these (sphinx bug), these should be ignored. |
Overview
This config option should help prevent introducing broken links in the docs.
See: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-nitpicky
Currently a bunch of nitpick ignores are already defined here:
pyvista/doc/source/conf.py
Lines 206 to 225 in 334d852
But these have no effect unless
nitpicky
is set toTrue
.