diff --git a/docs/conf.py b/docs/conf.py index 72165a62e..620361b95 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,6 @@ from __future__ import annotations +import os import sys from datetime import date, datetime from pathlib import Path @@ -86,6 +87,8 @@ nitpicky = True nitpick_ignore = [] +os.environ["FORCE_COLOR"] = "yes" # force --colored default value to be yes + def skip_member(app: Sphinx, what: str, name: str, obj: Any, would_skip: bool, options: Options) -> bool: # noqa: U100 return name in options.get("exclude-members", set()) or would_skip