summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-05-19 14:15:09 +0000
committerTopi Reinio <[email protected]>2025-05-27 09:18:56 +0000
commit7142e4bcceb6017191dc22935f0758bd68a25e5c (patch)
treeeb86e5bbc63aecc7813741cfb04de5d35fea242e
parent4d3df75288d245b0c8d5cfafcdada51ff3f80901 (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 Location. Change-Id: I5ff06c944e47ffdcc1e94a9d4b3a27ad6579abee Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r--src/location/doc/qtlocation.qdocconf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/location/doc/qtlocation.qdocconf b/src/location/doc/qtlocation.qdocconf
index 5d8225b1..d1c300b3 100644
--- a/src/location/doc/qtlocation.qdocconf
+++ b/src/location/doc/qtlocation.qdocconf
@@ -53,6 +53,9 @@ sourcedirs += ..
examplesinstallpath = location
+# Path to the root of qtlocation (for automatic linking to source code)
+url.sources.rootdir = ../../..
+
exampledirs += ../../../examples/location \
snippets/