- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Different build warnings are colored differently #9979
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
Comments
Oops. The labels of dark red messages are wrong. They should be "ERROR:" instead of "WARNING:". This must be a bug. Thank you for reporting. |
When building this, the build will be reported as a success (assuming you don't set |
Fix #9979: Error level messages were displayed as warning messages
This error was raised from docutils; a framework library for document parsing and conversion. Sphinx does not exit (or crash) even if docutils raises an error. So it does not prevent building document if you don't set |
Thank you for the clarification, it's much appreciated. |
Describe the bug
Some types of warnings seem to be different colors than others. An image warning is light red, a transition warning is dark red. This behavior exists regardless of
-W --keep-going
being set.How to Reproduce
Use the branch specified. I purposely broke an image's path to showcase the differently-colored warning so it's not on main or develop.
Expected behavior
Based on this, I'd expect all warnings to have the same color, and to not match the color of errors.
Your project
https://github.com/dockstore/dockstore-documentation/tree/make-html-warnings
Screenshots
OS
macOS 10.15.7 (Catalina)
Python version
3.7
Sphinx version
Sphinx v4.1.2
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: