From f7c6ad95b4cf7f6be7a90e2fdce3d0ad43b37f70 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Mon, 19 May 2025 14:05:32 +0000 Subject: Doc: Enable automatic linking to sources on code.qt.io 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 --- src/webview/doc/qtwebview.qdocconf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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" -- cgit v1.2.3