summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-11 11:52:27 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-04-13 01:20:21 +0000
commit89cdfed48ce61b06581c178d151d427ad7d67ac6 (patch)
tree5b38e704cdd2269545d3b6c6442c19aecce05115 /examples
parent2d24fd03deb24a2f8c59ce18654122f404560cc1 (diff)
downloadqtwebengine-89cdfed48ce61b06581c178d151d427ad7d67ac6.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. Pick-to: 6.5 Task-number: QTBUG-112731 Change-Id: If9519fd8994c64cf57dc4c9a9387d7be80493d80 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/recipebrowser/doc/src/recipebrowser.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/recipebrowser/doc/src/recipebrowser.qdoc b/examples/webenginewidgets/recipebrowser/doc/src/recipebrowser.qdoc
index 4ac9973b3..dd701f1f2 100644
--- a/examples/webenginewidgets/recipebrowser/doc/src/recipebrowser.qdoc
+++ b/examples/webenginewidgets/recipebrowser/doc/src/recipebrowser.qdoc
@@ -4,7 +4,7 @@
/*!
\example webenginewidgets/recipebrowser
\title Recipe Browser
- \meta category {Application Examples}
+ \examplecategory {Application Examples}
\meta tag {widgets, webengine, webchannel, webenginescript}
\ingroup webengine-widgetexamples
\brief Injecting custom stylsheets into web pages and providing a rich text preview