From a6bc62f2ec850c2faff1e51b17d1f7f64f3cbb64 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 12 Jun 2025 17:37:31 +0300 Subject: [PATCH 1/2] Enable color and suggest_on_error for argparse --- build_docs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_docs.py b/build_docs.py index c75f096..d7b29a5 100755 --- a/build_docs.py +++ b/build_docs.py @@ -967,6 +967,8 @@ def parse_args() -> argparse.Namespace: description="Runs a build of the Python docs for various branches.", allow_abbrev=False, ) + parser.color = True + parser.suggest_on_error = True parser.add_argument( "--select-output", choices=("no-html", "only-html", "only-html-en"), From 0a6ed074088e50dda114f1fd097811328aeb66b4 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:03:21 +0100 Subject: [PATCH 2/2] Update build_docs.py --- build_docs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/build_docs.py b/build_docs.py index d7b29a5..e2798a5 100755 --- a/build_docs.py +++ b/build_docs.py @@ -967,7 +967,6 @@ def parse_args() -> argparse.Namespace: description="Runs a build of the Python docs for various branches.", allow_abbrev=False, ) - parser.color = True parser.suggest_on_error = True parser.add_argument( "--select-output",