diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-10-12 09:09:34 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2021-10-12 14:08:08 +0200 |
commit | b8360981791f876d835d3c3efcb1c6821e421b81 (patch) | |
tree | baa34471acc8abb172f0d0f46bd38b49bd8fa124 /doc | |
parent | 3b6a02788523c88b0ceb2bc80364a4088dae1e47 (diff) |
Doc: Fix usage of \summary macro
The macro takes only one parameter, sentences must be wrapped in {}.
Pick-to: 6.2
Fixes: QTBUG-97441
Change-Id: I7177548a32a67d720c2b551d16c09d898b0fda51
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/global/macros.qdocconf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/global/macros.qdocconf b/doc/global/macros.qdocconf index 5faa7ce9f3..d165d291b4 100644 --- a/doc/global/macros.qdocconf +++ b/doc/global/macros.qdocconf @@ -46,7 +46,9 @@ macro.endfloat.HTML = "</div>" macro.clearfloat.HTML = "<br style=\"clear: both\" />" macro.emptyspan.HTML = "<span></span>" -# Use like \brief, but replicates sentence also as text +# Used like \brief, but replicates the sentence also as text. +# Wrap the entire sentence with {}, for example: +# \summary {Creates a build target.} macro.summary = "\\brief \1\n\n\1\n" # Expands to the minor version based on the QT_VER environment variable |