summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-05-19 14:18:28 +0000
committerTopi Reinio <[email protected]>2025-05-27 09:16:33 +0000
commitd073c1dc8784996993e6ba34a7eb3e3320a53072 (patch)
tree67d3116ec156723ff8e41535cc2e9cc932d19c2e
parent9f82b3db0c55a32c3382b6067d76d37ff5fc275f (diff)
Doc: Enable automatic linking to sources on code.qt.ioHEADdev
Since 6.10, QDoc is capable of generating links to the declaration in the source code for each documented C++ API entity in their `Detailed description`. Add the required configuration to enable this feature for modules in qtconnectivity. Change-Id: I033eab3a15047ab8c8c1e26763e3e573f0a7a84a Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r--src/bluetooth/doc/qtbluetooth.qdocconf3
-rw-r--r--src/nfc/doc/qtnfc.qdocconf3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetooth/doc/qtbluetooth.qdocconf b/src/bluetooth/doc/qtbluetooth.qdocconf
index e23be234..5ba0fb2d 100644
--- a/src/bluetooth/doc/qtbluetooth.qdocconf
+++ b/src/bluetooth/doc/qtbluetooth.qdocconf
@@ -7,6 +7,9 @@ version = $QT_VERSION
examplesinstallpath = bluetooth
+# Path to the root of qtconnectivity (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
qhp.projects = QtBluetooth
qhp.QtBluetooth.file = qtbluetooth.qhp
diff --git a/src/nfc/doc/qtnfc.qdocconf b/src/nfc/doc/qtnfc.qdocconf
index 5b6bdc0a..71689afa 100644
--- a/src/nfc/doc/qtnfc.qdocconf
+++ b/src/nfc/doc/qtnfc.qdocconf
@@ -7,6 +7,9 @@ version = $QT_VERSION
examplesinstallpath = nfc
+# Path to the root of qtconnectivity (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
qhp.projects = QtNfc
qhp.QtNfc.file = qtnfc.qhp