From 77199d28eb088cb332c964f058a58134197fa3ca Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Fri, 13 Jun 2025 17:59:19 -0700 Subject: [PATCH] correctly ignore _build directory --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 174995bc8..8be2c5c25 100644 --- a/noxfile.py +++ b/noxfile.py @@ -83,7 +83,7 @@ def docs_test(session): def _autobuild_cmd(posargs: list[str], output_dir = OUTPUT_DIR) -> list[str]: cmd = [SPHINX_AUTO_BUILD, *BUILD_PARAMETERS, str(SOURCE_DIR), str(output_dir), *posargs] for folder in AUTOBUILD_IGNORE: - cmd.extend(["--ignore", f"*/{folder}/*"]) + cmd.extend(["--ignore", f'"{folder}"']) return cmd