From f9e6ee655f463e7175e3bf07cdac0946e8141cb3 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Wed, 10 Nov 2021 13:31:28 +0100 Subject: [PATCH] Doc: Fix qdoc warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In addition, added the missing warninglimit entry to a few doc configs. Change-Id: I51b9d2ad66123a2a9673a3b42870662641375e6b Reviewed-by: Timur Pocheptsov Reviewed-by: Topi Reiniö Reviewed-by: Mårten Nordheim --- qmake/doc/qmake.qdocconf | 3 +++ src/dbus/doc/qtdbus.qdocconf | 3 +++ src/network/doc/src/ssl.qdoc | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/qmake/doc/qmake.qdocconf b/qmake/doc/qmake.qdocconf index 77775674f4..2cf74d5551 100644 --- a/qmake/doc/qmake.qdocconf +++ b/qmake/doc/qmake.qdocconf @@ -62,3 +62,6 @@ depends += \ qtxmlpatterns navigation.landingpage = "qmake Manual" + +# Fail the documentation build if there are more warnings than the limit +warninglimit = 0 diff --git a/src/dbus/doc/qtdbus.qdocconf b/src/dbus/doc/qtdbus.qdocconf index 35f17b1f34..b23c5fb121 100644 --- a/src/dbus/doc/qtdbus.qdocconf +++ b/src/dbus/doc/qtdbus.qdocconf @@ -66,3 +66,6 @@ navigation.cppclassespage = "Qt D-Bus C++ Classes" manifestmeta.thumbnail.names = "QtDBus/D-Bus List Names Example" \ "QtDBus/D-Bus Ping Pong Example" \ "QtDBus/D-Bus Complex Ping Pong Example" + +# Fail the documentation build if there are more warnings than the limit +warninglimit = 0 diff --git a/src/network/doc/src/ssl.qdoc b/src/network/doc/src/ssl.qdoc index d15c1e78d7..c3e56a8734 100644 --- a/src/network/doc/src/ssl.qdoc +++ b/src/network/doc/src/ssl.qdoc @@ -48,9 +48,9 @@ When building Qt from source, Qt builds plugins for native TLS libraries that are supported for the operating system you are building for. For Windows this means - \l{Schannel}{https://docs.microsoft.com/en-us/windows/win32/com/schannel}, + \l{https://docs.microsoft.com/en-us/windows/win32/com/schannel}{Schannel}, while for macOS this is - \l{Secure Transport}{https://developer.apple.com/documentation/security/secure_transport}. + \l{https://developer.apple.com/documentation/security/secure_transport}{Secure Transport}. On all platforms, the configuration system checks for the presence of the \c{openssl/opensslv.h} header provided by source or developer packages