-
-
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
sphinx-build exit code is 0 with ERRORS #10397
Comments
Could you try |
I had. |
If you'd like to see the all of warnings (like CI), please use |
I had a question on this one, what if there are a few WARNINGS which should not be treated as errors, in that case, how do we differentiate? |
This is a very good question! We also have too many warnings that are irrelevant, that we cannot control (#11325) or that are false positives. In the end, I found for |
Describe the bug
malformed table errors are reported as ERROR when running sphinx-build
source\a\a.rst:14: ERROR: Error parsing content block for the "list-table" directive: uniform two-level bullet list expected, but row 3 does not contain the same number of items as row 1 (4 vs 5).
source\a\a.rst:35: ERROR: "list-table" widths do not match the number of columns in table (5).
source\a\a.rst:51: ERROR: "list-table" widths do not match the number of columns in table (5).
but the exit code is 0
How to Reproduce
Expected behavior
exit code is different from 0
Your project
https://github.com/g-chauvel/sphinx-doc
Screenshots
No response
OS
Windows 10
Python version
3.9.12
Sphinx version
4.5.0
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: