aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-24 13:49:23 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-24 15:44:08 +0000
commit6bba0aa85264f5336863e2cf910cae13a548bcf3 (patch)
treea50a5989dee6e77089e30f69217bda54c2101c78
parent8eb0f6cafd388f0e7b0393373e560b54e4fc8067 (diff)
build_scripts: Pass --quiet to build_rst_docs
Otherwise, the log messages from the example gallery clutter the sphinx warnings from the shiboken manual. Change-Id: I1a8e3b685a4bfb830baea3a2221fc7980fee24e1 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit d1c2b27278c23b3a00475aaf2528006337d22f90) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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 9e898987d..d3015c75b 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -1195,6 +1195,8 @@ class PysideRstDocs(Command, DistUtilsCommandMixin):
"-DDOC_OUTPUT_FORMAT=html",
"-DFULLDOCSBUILD=0",
]
+ if OPTION["QUIET"]:
+ cmake_cmd.append('-DQUIET_BUILD=1')
if run_process(cmake_cmd) != 0:
raise DistutilsSetupError(f"Error running CMake for {self.doc_dir}")