-
Notifications
You must be signed in to change notification settings - Fork 2.1k
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow selectively suppressing warnings #1345
Comments
From Georg Brandl on 2014-01-12 19:22:36+00:00 A "known missing" config value seems easy to do and reasonable. |
From Georg Brandl on 2014-01-12 19:30:59+00:00 Actually, there is already the |
From Georg Brandl on 2014-01-12 19:43:33+00:00 I think it should do, with two little fixes I'll do shortly:
|
From Nikolaus Rath on 2014-01-12 19:59:52+00:00 Awesome, thanks a lot! I actually didn't know about |
From Georg Brandl on 2014-01-12 20:09:21+00:00 I've made it a little more conspicuous now by mentioning it where the |
Hello,
When using markup like :envvar:, I often do not have a corresponding reference target (e.g. when referring to
LD_CONFIG
orPATH
). This leaves me with the choice of either getting a spurious warning during build, or not tagging these variables correctly.It would be great if Sphinx would allow me to selectively suppress such warnings. I imagine the least intrusive change would be to just introduce a list of "known missing" targets in conf.py. If a target is missing, sphinx would check this list and only issue a warning if the target is not in there.
The text was updated successfully, but these errors were encountered: