diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-04-11 11:54:22 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2023-04-12 10:48:46 +0000 |
commit | 6a15704c9f4be973947f18ff90afd725b7135ca9 (patch) | |
tree | 55cef60a18e3016644bd492a2fab83112d9a1e14 /examples/wayland/overview-compositor | |
parent | e4cebf9fe5d073a1a622aa5af95fb5a3bc82098e (diff) |
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: I86a8a71204d1dd0665ca6d8c40438c78817c007a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 9130a67c5981abc35be406da593f3a4b7f8e281f)
Diffstat (limited to 'examples/wayland/overview-compositor')
-rw-r--r-- | examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc b/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc index e0b139378..8ac3dfae0 100644 --- a/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc +++ b/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc @@ -4,7 +4,7 @@ /*! * \title Overview Compositor * \example overview-compositor - * \meta category {Embedded} + * \examplecategory {Embedded} * \brief Overview Compositor shows how to switch between clients in a grid. * * \section1 Introduction |