diff options
author | Thibaut Cuvelier <cuvelier.thibaut@gmail.com> | 2019-11-13 23:18:42 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-11-18 06:21:20 +0000 |
commit | d1d98b6731cccca515f27c8cf2303b52d77a380c (patch) | |
tree | 69e3795751706d0a40f32ede484af0460d31db27 | |
parent | 2b6c90317b6bc5f94ca0dc14a3a1467aa8019b17 (diff) |
Change documentation as proposed by Edward Welbourne
Change-Id: Ida9040a17e05b193974d39d72a9998c0a63ed892
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r-- | src/qdoc/generator.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qdoc/generator.cpp b/src/qdoc/generator.cpp index 39c629465..080a290ae 100644 --- a/src/qdoc/generator.cpp +++ b/src/qdoc/generator.cpp @@ -971,9 +971,10 @@ void Generator::generateRequiredLinks(const Node *node, CodeMarker *marker) /*! Generates an external link to the project folder for example \a node. - The path to the example is appended to \a baseUrl string, or to a - specific location within the string marked with the placeholder '\1' - character. + The path to the example replaces a placeholder '\1' character if + one is found in the \a baseUrl string. If no such placeholder is found, + the path is appended to \a baseUrl, after a '/' character if \a baseUrl did + not already end in one. */ void Generator::generateLinkToExample(const ExampleNode *en, CodeMarker *marker, |