Doc: Fix incorrect usage of \generatelist

The \generatelist command takes an optional argument
that affect how the members are listed, for example,
`classesbymodule` which creates an annotated list of
the classes in a named C++ module.

`groupsbymodule` is not recognized or documented. QDoc
falls back to generating a list of all members of a
group in this case. While the end result is correct,
this relies on an undocumented feature that is likely
to change and break.

Replace these instances with an explicit \annotatedlist
command that produces the same output.

Pick-to: 6.10
Task-number: QTBUG-138901
Change-Id: Iffa5720e53177d1b996d49f9a607e2a1fa91bb0a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Topi Reinio 2025-08-04 11:13:53 +00:00
parent d62f437efa
commit bfc975db58
2 changed files with 2 additions and 2 deletions

View File

@ -105,5 +105,5 @@
Furthermore, Qt GRPC in Qt \QtVersion may contain third party modules under
the following permissive licenses:
\generatelist{groupsbymodule attributions-qtgrpc-examples}
\annotatedlist attributions-qtgrpc-examples
*/

View File

@ -113,7 +113,7 @@
Furthermore, the \c qtprotobufgen tool in Qt \QtVersion may contain third
party modules under the following permissive licenses:
\generatelist{groupsbymodule attributions-qtprotobuf-tools}
\annotatedlist attributions-qtprotobuf-tools
*/
/*!