From ca3918ceb6dcdc1e4f0fe4ebd3f8cfa0de8e17c3 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 12 Oct 2021 09:09:34 +0200 Subject: Doc: Fix usage of \summary macro The macro takes only one parameter, sentences must be wrapped in {}. Fixes: QTBUG-97441 Change-Id: I7177548a32a67d720c2b551d16c09d898b0fda51 Reviewed-by: Paul Wicking (cherry picked from commit b8360981791f876d835d3c3efcb1c6821e421b81) Reviewed-by: Qt Cherry-pick Bot --- doc/global/macros.qdocconf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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 = "" macro.clearfloat.HTML = "
" macro.emptyspan.HTML = "" -# 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 -- cgit v1.2.3