summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2022-06-01 14:11:42 +0200
committerTopi Reinio <topi.reinio@qt.io>2022-07-22 11:37:12 +0200
commit91bc6d340c253ddec67f7e590251c546f011dc0c (patch)
treef279a8cc708253b22229a89d7f6e19668a94a97d
parentdaf448324fb2148bda2d3f0b79170d658d38aa49 (diff)
downloadqtsvg-91bc6d340c253ddec67f7e590251c546f011dc0c.tar.gz
Enable documentation tests in the CI
CI will fail the documentation build if the commit introduces new warnings as reported by QDoc. Pick-to: 6.3 Change-Id: I0823ab86d2fd5bbea35e20fea7358d258510c354 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-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