From a49559f138f0f5183625554d505a245a04fe82df Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 16 Mar 2022 10:04:16 +0000 Subject: [PATCH] Configure sphinx to always use colors on output Related: https://github.com/sphinx-doc/sphinx/pull/10260 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 1fbfc34b..5e53561e 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,8 @@ skipsdist = true [docs] # do not use continuation with vars, see https://github.com/tox-dev/tox/issues/2069 sphinx_common_args = - -j auto {tty:--color} -a -n -W --keep-going -T -d "{temp_dir}/.doctrees" . "{envdir}/docs_out" + # https://github.com/sphinx-doc/sphinx/pull/10260 + -j auto --color -a -n -W --keep-going -T -d "{temp_dir}/.doctrees" . "{envdir}/docs_out" [testenv] description =