Skip to content

Commit

Permalink
Document NO_COLOR and FORCE_COLOR environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 13, 2022
1 parent 2a700cf commit cdf9456
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/man/sphinx-build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,22 @@ variables to customize behavior:
Additional options for :program:`sphinx-build`. These options can
also be set via the shortcut variable **O** (capital 'o').

.. describe:: NO_COLOR

When set (regardless of value), :program:`sphinx-build` will not use color
in terminal output. ``NO_COLOR`` takes precedence over ``FORCE_COLOR``. See
`no-color.org <https://no-color.org/>`__ for other libraries supporting this
community standard.

.. versionadded:: 4.5.0

.. describe:: FORCE_COLOR

When set (regardless of value), :program:`sphinx-build` will use color in
terminal output. ``NO_COLOR`` takes precedence over ``FORCE_COLOR``.

.. versionadded:: 4.5.0

.. _when-deprecation-warnings-are-displayed:

Deprecation Warnings
Expand Down

0 comments on commit cdf9456

Please sign in to comment.