summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2021-11-14 23:27:35 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2021-11-15 21:32:46 +0100
commit875f54103d104e0123ef08e0fd6ff75616a61630 (patch)
tree883d21960b39fba9d77f0b72fddc2dd66b2079ad
parent108a36ed2670bead1d273def09d43c9c5d004b2e (diff)
downloadqtdoc-875f54103d104e0123ef08e0fd6ff75616a61630.tar.gz
Doc: Enable zero warning limit
Change-Id: I157ef93d8a5c07528de267fe51ea9ed7f161a7ee Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--coin/module_config.yaml1
-rw-r--r--doc/config/qtdoc.qdocconf4
-rw-r--r--doc/src/cmake/qtcmake.qdocconf4
-rw-r--r--doc/src/platformintegration/qtplatformintegration.qdocconf4
4 files changed, 13 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index 16d158c6..aaf33238 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/doc/config/qtdoc.qdocconf b/doc/config/qtdoc.qdocconf
index 8dc74588..1ac29045 100644
--- a/doc/config/qtdoc.qdocconf
+++ b/doc/config/qtdoc.qdocconf
@@ -87,3 +87,7 @@ manifestmeta.highlighted.names = "QtDoc/Coffee Machine Example" \
manifestmeta.filters += coffeemachine
manifestmeta.coffeemachine.names = "QtDoc/Coffee Machine Example"
manifestmeta.coffeemachine.tags = quick,embedded
+
+# Fail the documentation build if there are more warnings than the limit
+warninglimit = 0
+
diff --git a/doc/src/cmake/qtcmake.qdocconf b/doc/src/cmake/qtcmake.qdocconf
index b7e486ec..96e62a76 100644
--- a/doc/src/cmake/qtcmake.qdocconf
+++ b/doc/src/cmake/qtcmake.qdocconf
@@ -40,3 +40,7 @@ depends += \
qtscxml
navigation.landingpage = "Build with CMake"
+
+# Fail the documentation build if there are more warnings than the limit
+warninglimit = 0
+
diff --git a/doc/src/platformintegration/qtplatformintegration.qdocconf b/doc/src/platformintegration/qtplatformintegration.qdocconf
index c0463930..239691a7 100644
--- a/doc/src/platformintegration/qtplatformintegration.qdocconf
+++ b/doc/src/platformintegration/qtplatformintegration.qdocconf
@@ -19,3 +19,7 @@ qhp.QtPlatformIntegration.namespace = org.qt-project.qtplatformintegra
qhp.QtPlatformIntegration.virtualFolder = qtplatformintegration
qhp.QtPlatformIntegration.indexTitle = "Platform Integration"
qhp.QtPlatformIntegration.filterAttributes = qt $QT_VERSION
+
+# Fail the documentation build if there are more warnings than the limit
+warninglimit = 0
+