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
Feature request: add ability to exclude/ignore external image warnings #2466
Milestone
Comments
Thank you for reporting. I wonder which branch is best to fix this. Anyway, I will add a way to suppress the warning. |
Thanks! |
Note: |
I added new types to
Thank you for reporting! |
Awesome, thanks! |
openstack-gerrit
pushed a commit
to openstack/neutron-lib
that referenced
this issue
Dec 6, 2016
Change [1] introduced a remote image link in our README.rst. Due to the fact that we include this README in our docs, our 'tox -e docs' build now fails due to the nonlocal image URI as we run the sphinx build with -W: -- Warning, treated as error: README.rst:None: WARNING: nonlocal image URI found: http://governance.openstack.org/badges/neutron-lib.svg -- Ignoring specific warnings is supported with newer versions of sphinx [2], but not with the version we currently use. Therefore this patch removes our readme reference from our doc/source/ tree. [1] https://review.openstack.org/#/c/402702/ [2] sphinx-doc/sphinx#2466 Change-Id: I8458635f7081ea98a160cbb4105032d435bdcb98
jobec
added a commit
to snok/django-auth-adfs
that referenced
this issue
Dec 10, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice to be able to exclude or ignore the warnings that are triggered by external images.
Example:
See #2429 (where I and another user ran into the same problem when trying to turn off these warnings ourselves). There are enough results about this same issue that come up in a google search to suggest that many others would probably benefit from this option as well.
My use case:
The projects I document use travis-ci; I'd like to be able to use the
sphinx-build -W
command as part of our builds. I use a travis badge and a slack badge on some of our pages, which trigger thenonlocal image URI
warnings; these would break the build (unnecessarily, IMHO), so I can't use the option to treat sphinx warnings as errors in our builds.The text was updated successfully, but these errors were encountered: