mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#62: There is now a `-w` option for sphinx-build that writes
warnings to a file, in addition to stderr.
This commit is contained in:
@@ -139,6 +139,9 @@ The :program:`sphinx-build` script has several more options:
|
||||
Do not output anything on standard output, also suppress warnings. Only
|
||||
errors are written to standard error.
|
||||
|
||||
**-w** *file*
|
||||
Write warnings (and errors) to the given file, in addition to standard error.
|
||||
|
||||
**-W**
|
||||
Turn warnings into errors. This means that the build stops at the first
|
||||
warning and ``sphinx-build`` exits with exit status 1.
|
||||
|
||||
Reference in New Issue
Block a user