aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build_scripts/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index b12b4561a..bed4a909b 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -1278,6 +1278,8 @@ class PysideRstDocs(Command, CommandMixin):
example_gallery = config.setup_script_dir / "tools" / "example_gallery" / "main.py"
assert(example_gallery.is_file())
example_gallery_cmd = [sys.executable, os.fspath(example_gallery)]
+ if OPTION["LOG_LEVEL"] == LogLevel.QUIET:
+ example_gallery_cmd.append("--quiet")
if run_process(example_gallery_cmd) != 0:
raise SetupError(f"Error running example gallery for {self.doc_dir}")
elif self.name == SHIBOKEN: