summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2022-06-01 14:11:42 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-07-22 09:51:35 +0000
commit4363e08806b706fbf07805d428f2689d82c77e8f (patch)
tree3c37fc94241bbdf8e462e7068b65e3952e2ad608
parentd31d9440bf2e0dd0f4adf9cda349d1a1ef08ff53 (diff)
downloadqtsvg-4363e08806b706fbf07805d428f2689d82c77e8f.tar.gz
Enable documentation tests in the CI
CI will fail the documentation build if the commit introduces new warnings as reported by QDoc. Change-Id: I0823ab86d2fd5bbea35e20fea7358d258510c354 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 91bc6d340c253ddec67f7e590251c546f011dc0c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--coin/module_config.yaml1
-rw-r--r--src/svg/doc/qtsvg.qdocconf3
2 files changed, 4 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index 16d158c..aaf3323 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -10,3 +10,4 @@ instructions:
Test:
- !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
+ - !include "{{qt/qtbase}}/coin_module_test_docs.yaml"
diff --git a/src/svg/doc/qtsvg.qdocconf b/src/svg/doc/qtsvg.qdocconf
index c2ef354..b2c5126 100644
--- a/src/svg/doc/qtsvg.qdocconf
+++ b/src/svg/doc/qtsvg.qdocconf
@@ -48,3 +48,6 @@ imagedirs += images
navigation.landingpage = "Qt SVG"
navigation.cppclassespage = "Qt SVG C++ Classes"
+
+# Fail the documentation build if there are more warnings than the limit
+warninglimit = 0