diff options
author | Topi Reinio <[email protected]> | 2025-05-19 14:08:08 +0000 |
---|---|---|
committer | Topi Reinio <[email protected]> | 2025-05-27 09:21:54 +0000 |
commit | ef92141e526b20d2e6e2a0d5446880ef2f55ffce (patch) | |
tree | fa893ce8e1dc658abbd205ecdf6805eee9b47679 | |
parent | 62669d1cb03de209c9716e17c9a38300ef412062 (diff) |
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 for modules in
qtscxml.
Change-Id: If8a86b83394a8a30340fff05d4b54c9104fe61bc
Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r-- | src/scxml/doc/qtscxml.qdocconf | 3 | ||||
-rw-r--r-- | src/statemachine/doc/qtstatemachine.qdocconf | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/scxml/doc/qtscxml.qdocconf b/src/scxml/doc/qtscxml.qdocconf index fcfdb1e..a5b63ae 100644 --- a/src/scxml/doc/qtscxml.qdocconf +++ b/src/scxml/doc/qtscxml.qdocconf @@ -9,6 +9,9 @@ version = $QT_VERSION examplesinstallpath = scxml exampledirs = ../../../examples/scxml . +# Path to the root of qtscxml (for automatic linking to source code) +url.sources.rootdir = ../../.. + examples.fileextensions += "*.scxml" diff --git a/src/statemachine/doc/qtstatemachine.qdocconf b/src/statemachine/doc/qtstatemachine.qdocconf index 0672b21..42dc538 100644 --- a/src/statemachine/doc/qtstatemachine.qdocconf +++ b/src/statemachine/doc/qtstatemachine.qdocconf @@ -12,6 +12,9 @@ examplesinstallpath = statemachine exampledirs = ../../../examples/statemachine \ snippets +# Path to the root of qtscxml (for automatic linking to source code) +url.sources.rootdir = ../../.. + qhp.projects = QtStateMachine qhp.QtStateMachine.file = qtstatemachine.qhp |