aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-05-20 09:10:41 +0000
committerTopi Reinio <[email protected]>2025-05-27 09:12:35 +0000
commit638b7cd687d5077c79bb619840cfc9ea9f92c7ce (patch)
tree9973532434040ef4d99225ed9065528c64574895
parentbf8064f8856006c933e331db672a1f09ae492dd8 (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 Web Sockets. Change-Id: I636fd87423c45cac2f6afaf658cf765c8bf3d96a Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r--src/websockets/doc/qtwebsockets.qdocconf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/websockets/doc/qtwebsockets.qdocconf b/src/websockets/doc/qtwebsockets.qdocconf
index 3438568..1f91738 100644
--- a/src/websockets/doc/qtwebsockets.qdocconf
+++ b/src/websockets/doc/qtwebsockets.qdocconf
@@ -7,6 +7,9 @@ version = $QT_VERSION
examplesinstallpath = websockets
+# Path to the root of qtwebsockets (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
qhp.projects = QtWebSockets
qhp.QtWebSockets.file = qtwebsockets.qhp