summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-11 11:06:22 +0000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-11 15:33:39 +0000
commit8488c8ca3a45e452500f3aaf67ea3e9fd1bea88b (patch)
treee0764e81f8b3db83ef2ce903a2542f8316a56986 /src
parenta6a7e1da734eae1c684def8e896b5f4c1c9d7bc1 (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: Ib1b2ea3b93e0a24d365a822965fe512851568a6a Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 0c45f0423d573687917f2093e7c1d87a4bf17aa7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/serialbus/doc/src/examples/can.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialbus/doc/src/examples/can.qdoc b/src/serialbus/doc/src/examples/can.qdoc
index 26e9ba9..1d71f73 100644
--- a/src/serialbus/doc/src/examples/can.qdoc
+++ b/src/serialbus/doc/src/examples/can.qdoc
@@ -4,7 +4,7 @@
/*! \example can
\title CAN Bus Manager
\ingroup qtserialbus-examples
- \meta category Connectivity
+ \examplecategory Connectivity
\brief The example sends and receives CAN bus frames.