From 422fe9c549fa17dd7a03d7ea01ea70f5737b32ae Mon Sep 17 00:00:00 2001 From: chrysle Date: Tue, 30 Jan 2024 18:51:57 +0100 Subject: [PATCH] Support passing the `--color` option (#129) --- README.md | 2 +- src/sphinx_autobuild/build.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 042d5b6..2586b32 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ optional arguments: sphinx's arguments: The following arguments are forwarded as-is to Sphinx. Please look at `sphinx --help` for more information. - -b=builder, -a, -E, -d=path, -j=N, -c=path, -C, -D=setting=value, -t=tag, -A=name=value, -n, -v, -q, -Q, -w=file, -W, -T, -N, -P + -b=builder, -a, -E, -d=path, -j=N, -c=path, -C, -D=setting=value, -t=tag, -A=name=value, -n, -v, -q, -Q, -w=file, -W, -T, -N, -P, --keep-going, --color ``` ### Using with Makefile diff --git a/src/sphinx_autobuild/build.py b/src/sphinx_autobuild/build.py index 25a952b..537b6a1 100644 --- a/src/sphinx_autobuild/build.py +++ b/src/sphinx_autobuild/build.py @@ -19,6 +19,7 @@ ("A", "name=value"), ("n", None), ("N", None), + ("-color", None), ("v", None), ("q", None), ("Q", None),