-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unresolved reference should have a visually different style. #23
Comments
From what we discussed, a first, low-effort (maybe) solution would be CSS. Next would be to hook into docutils to figure out when/where the "unresolved link" nodes are created and you could maybe emit useful logging messages. Sound about right? |
Matplotlib uses |
I want to address first the problem visually when you view a page to nudge people, but yes having build fail in the long run woudl be good. |
astropy and related packages do nitpicky and fail with |
FWIW in MNE-Python when people do stuff wrong we use a little We could probably turn this into a little sphinx extension that notices these and replicates them at the end of the build, so instead of seeing just:
we could add at the end
then you don't have to scroll hundreds of lines up in the logs. |
... the code for this probably lives in the matplotlib extension somewhere so maybe we can/should build off of that. |
Related to #22,
we need a way to clearly see unresolved single backticks reference instead of having them looks like either emphasis or codeblock.
nitpicky might not be a direct path forward as it creates too many errors.
The text was updated successfully, but these errors were encountered: