mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Strip ANSI control codes when writing to the warnings file (#11624)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
@@ -195,6 +195,10 @@ Options
|
||||
|
||||
Write warnings (and errors) to the given file, in addition to standard error.
|
||||
|
||||
.. versionchanged:: 7.3
|
||||
|
||||
ANSI control sequences are stripped when writing to *file*.
|
||||
|
||||
.. option:: -W
|
||||
|
||||
Turn warnings into errors. This means that the build stops at the first
|
||||
|
||||
Reference in New Issue
Block a user