From 5290ba4cbd1e5bcdc217b58b0495768263097ba3 Mon Sep 17 00:00:00 2001 From: Nicholas Bennett Date: Mon, 17 Apr 2023 13:31:34 +0300 Subject: [PATCH] Docs: Add a macro for documenting something as a technical preview Adds a warning symbol. Adds a note to the brief string. Pick-to: 6.5 6.6 Change-Id: Ib036295bbcf7ab5eca7fd554fb2da836fedad8a0 Reviewed-by: Paul Wicking --- doc/global/macros.qdocconf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/global/macros.qdocconf b/doc/global/macros.qdocconf index b2cabeb039..3c7365a00c 100644 --- a/doc/global/macros.qdocconf +++ b/doc/global/macros.qdocconf @@ -135,3 +135,7 @@ macro.cmakepropertyiosonly = "\\note This property is used only if targeting iOS macro.cmakevariableiosonly = "\\note This variable is used only if targeting iOS." macro.qtpolicydeprecatedbehavior = "\\note The \\c{OLD} behavior of a policy is deprecated, and may be removed in the future." +#Appends the tech preview link to the brief sentence and adds to tech_preview +#group. +#Must be placed directly under a \brief command +macro.techpreview = "(Technical preview)\n\n\\meta status {Technical preview}\n\\ingroup tech_preview\n"