#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:
Georg Brandl
2009-02-20 11:01:46 +01:00
parent 98311e1779
commit a07e7ad534
5 changed files with 55 additions and 21 deletions

View File

@@ -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.