summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-05-19 14:05:32 +0000
committerTopi Reinio <[email protected]>2025-05-27 09:22:11 +0000
commitf7c6ad95b4cf7f6be7a90e2fdce3d0ad43b37f70 (patch)
tree15cc5694f3804bb571f7c06d773bb19b14570f40
parent7b2091d8c763bec8ba267469993f113013e6c8ac (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 WebView. Change-Id: I9e5e3f2b44a2573011bc34026c430da5485f76e1 Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r--src/webview/doc/qtwebview.qdocconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview/doc/qtwebview.qdocconf b/src/webview/doc/qtwebview.qdocconf
index 4a77767..1d89b53 100644
--- a/src/webview/doc/qtwebview.qdocconf
+++ b/src/webview/doc/qtwebview.qdocconf
@@ -33,6 +33,10 @@ exampledirs += ../../../examples/webview
imagedirs += images
examplesinstallpath = webview
+
+# Path to the root of qtwebview (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
depends = qtcore qtdoc qtgui qtquick qtqml qtwebengine qmake qtcmake
manifestmeta.highlighted.names = "QtWebView/Qt WebView Examples - Minibrowser"