diff options
| author | Topi Reinio <topi.reinio@qt.io> | 2025-05-14 10:43:27 +0000 |
|---|---|---|
| committer | Topi Reinio <topi.reinio@qt.io> | 2025-05-27 23:32:25 +0000 |
| commit | cc07564978525516794871155b805c93bc820654 (patch) | |
| tree | 293442c15e68e241b17021f43f20b2c1633d8ead /doc/config/exampleurl-qtwebview.qdocconf | |
| parent | 2c6d729be9512079b479be6bdfa9dc2136b45237 (diff) | |
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 online
documentation builds.
Change-Id: Iaafabc5aea50a6cd72549bb1c04007bb4de498ca
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'doc/config/exampleurl-qtwebview.qdocconf')
| -rw-r--r-- | doc/config/exampleurl-qtwebview.qdocconf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/config/exampleurl-qtwebview.qdocconf b/doc/config/exampleurl-qtwebview.qdocconf index 38a57352858..c8f0969a6a6 100644 --- a/doc/config/exampleurl-qtwebview.qdocconf +++ b/doc/config/exampleurl-qtwebview.qdocconf @@ -1 +1,4 @@ url.examples = "https://code.qt.io/cgit/qt/qtwebview.git/tree/examples/\1?h=$QT_VER" + +# Automatic linking to declarations of C++ APIs +url.sources = "https://code.qt.io/cgit/qt/qtwebview.git/tree/\1?h=$QT_VER#n\2" |
