diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-03-22 13:03:31 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-03-23 12:05:46 +0000 |
commit | 225aa423812013e28605934093c7943c809e3ac4 (patch) | |
tree | efac479bce8f9a0f3bb71060a82181dd1a651e8b | |
parent | e4bcfacccaf1c2e5fa0e5a3fdb06266633512e53 (diff) |
build_rst_docs: Pass quiet mode to example gallery tool
Amends 7565650d84b27784d4945ede0f5ba5a5cb93f926.
Task-number: PYSIDE-1106
Pick-to: 6.5
Change-Id: Ie958f5d6ac42a742c2ab8e9652703cc61a64745b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-rw-r--r-- | build_scripts/main.py | 2 |
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: |