From d6f10904a3843281242ea19e082d1b802a081aee Mon Sep 17 00:00:00 2001 From: chrysle Date: Thu, 20 Jul 2023 19:19:14 +0200 Subject: [PATCH] Document ``--no-color`` and ``--color`` options to ``sphinx-build`` (#11443) --- doc/man/sphinx-build.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/man/sphinx-build.rst b/doc/man/sphinx-build.rst index a66423010..a1fb9be40 100644 --- a/doc/man/sphinx-build.rst +++ b/doc/man/sphinx-build.rst @@ -201,10 +201,19 @@ Options references. See the config value :confval:`nitpick_ignore` for a way to exclude some references as "known missing". -.. option:: -N +.. option:: -N, --no-color Do not emit colored output. + .. versionchanged:: 1.6 + Add ``--no-color`` long option. + +.. option:: --color + + Emit colored output. Auto-detected by default. + + .. versionadded:: 1.6 + .. option:: -v Increase verbosity (loglevel). This option can be given up to three times