We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f33bed commit 40d0391Copy full SHA for 40d0391
1 file changed
doc/conf.py
@@ -13,6 +13,11 @@
13
import os
14
import sys
15
16
+# Prevent ANSI color codes in command output captured by sphinxcontrib.programoutput.
17
+# Python 3.13+ argparse emits colors when FORCE_COLOR is set; NO_COLOR suppresses
18
+# that regardless of FORCE_COLOR, and dfetch's own Rich console respects it too.
19
+os.environ["NO_COLOR"] = "1"
20
+
21
from dfetch import __version__
22
23
# -- General configuration ------------------------------------------------
0 commit comments