aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-05-19 14:29:05 +0000
committerTopi Reinio <[email protected]>2025-05-27 09:14:46 +0000
commitd6830d7bf81eda756e485019a3fc7212ad7b6bbb (patch)
tree3022b6dd0e3286749265d6bdb62423218bb7861c /src/webchannel
parent1a06e5afedc8011d8dc91252b4f7bb3dc51baa20 (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 in Qt WebChannel. Change-Id: I09f4c19d622ee8739fc7e1b4438afc9a96576663 Reviewed-by: Paul Wicking <[email protected]>
Diffstat (limited to 'src/webchannel')
-rw-r--r--src/webchannel/doc/qtwebchannel.qdocconf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webchannel/doc/qtwebchannel.qdocconf b/src/webchannel/doc/qtwebchannel.qdocconf
index 7842847..afb88ab 100644
--- a/src/webchannel/doc/qtwebchannel.qdocconf
+++ b/src/webchannel/doc/qtwebchannel.qdocconf
@@ -7,6 +7,9 @@ version = $QT_VERSION
examplesinstallpath = webchannel
+# Path to the root of qtwebchannel (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
qhp.projects = QtWebChannel
qhp.QtWebChannel.file = qtwebchannel.qhp