Disable argument color output when building the docs.

Review Request #14802 — Created Feb. 8, 2026 and submitted — Latest diff uploaded

Information

RBTools
release-6.x

Reviewers

Starting in Python 3.14, argparse outputs color by default. We use
argparse to generate parts of our documentation, and this resulted in
ANSI escape sequences messing up the generated output.

We now have options for disabling color output when creating a parser,
and explicitly disable for the docs.

Unit tests pass on all supported versions of Python.

Built the docs. Verified that the usage docs no longer had the ANSI
sequences for standard commands or multi-commands/subcommands.

Commits

Files