QDoc: Make QDoc respect the documented behavior for \details command
As documented, \details accepts a summary text, enclosed in braces, as
an argument.
Enforce the use of braces in the argument; warn if the argument doesn't
start with '{' and ignore rest of the line. The content for the details
paragraph always starts from a new line, not immediately after the
\details command.
Change-Id: Iab30a44d0cb8fc35652d2d2d0dc283f191dd62ac
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| commit | 2c8939b479fb84059beeb3a239a75df02ba998a7 |
| parent | 94cb8740832ba34ec5b0ebbd2116cfa4729403f5 |
| author | Topi Reinio <topi.reinio@qt.io> |
| committer | Topi Reinio <topi.reinio@qt.io> |
| commit time | Fri, 13 Mar 2026 05:42:09 +0000 |
- M src/qdoc/qdoc/src/qdoc/docparser.cpp
- A src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/outputfromqdocfiles/expected/html/OutputFromQDocFiles-qdoc-warnings.log
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/outputfromqdocfiles/expected/html/qdoctests-qdocfileoutput.html
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/outputfromqdocfiles/outputfromqdocfiles.qdocconf
- M src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/outputfromqdocfiles/src/qdoctests-outputfromqdocfiles.qdoc