diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-04-11 10:53:39 +0000 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-04-12 10:45:13 +0000 |
commit | 0b5e8ea1cd2dcddb9d290a672f21503e7e82a572 (patch) | |
tree | b19a2a8ec63482dca8b8a44d87879fe93a211862 /examples/websockets/doc/qmlwebsocketserver.qdoc | |
parent | cbf9aa3a0b56238e17accface52f296e074af8e9 (diff) | |
download | qtwebsockets-0b5e8ea1cd2dcddb9d290a672f21503e7e82a572.tar.gz |
Doc: Use the \examplecategory macro to tag examples
The '\meta category' command was used for tagging examples with a
specific category, used in Qt Creators Welcome mode.
As we want to also generate lists of examples belonging to a category
elsewhere in the documentation, replace the command with a macro that
expands to the original \meta command and also adds the example to
a group using the \ingroup command. This way, the category names can
be used as arguments to the \generatelist or \annotatedlist commands.
Task-number: QTBUG-112731
Change-Id: Ia1b34175e10109eef055b2759705f0ca0521179a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit a5f6f3f710fc9de3f8b9d4685e22c9c8912b11d9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/websockets/doc/qmlwebsocketserver.qdoc')
-rw-r--r-- | examples/websockets/doc/qmlwebsocketserver.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/websockets/doc/qmlwebsocketserver.qdoc b/examples/websockets/doc/qmlwebsocketserver.qdoc index 8582384..099d6d6 100644 --- a/examples/websockets/doc/qmlwebsocketserver.qdoc +++ b/examples/websockets/doc/qmlwebsocketserver.qdoc @@ -4,7 +4,7 @@ /*! \example qmlwebsocketserver \title QML WebSocket Server - \meta category {Networking} + \examplecategory {Networking} \ingroup qtwebsockets-examples \brief A simple example that shows how to use a QML WebSocketServer. |