From 429f565017f7213a91eb0cf43966b2148e0bb651 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Thu, 16 May 2024 10:20:21 +0000 Subject: [PATCH] Doc: Set trademarks page in global configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new \tm command appends a trademark symbol and links to the trademark documentation page if `navigation.trademarkspage` variable is set. As we have such a page in qtdoc repository, set the variable in the global configuration. This works as all Qt module docs have a dependency to the `qtdoc` documentation set. Pick-to: 6.8 Task-number: QTBUG-124393 Change-Id: Iabc6e7e5afe5114eac79947f0feb512458f1c4da Reviewed-by: Topi Reiniƶ --- doc/global/config.qdocconf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/global/config.qdocconf b/doc/global/config.qdocconf index f07e7ea3539..55a24a76d20 100644 --- a/doc/global/config.qdocconf +++ b/doc/global/config.qdocconf @@ -15,6 +15,9 @@ productname = Qt navigation.homepage = index.html navigation.hometitle = "$productname $QT_VER" +# Set trademarks page (located in qt/qtdoc) +navigation.trademarkspage = Trademarks + #Words to ignore for auto-linking ignorewords += \ macOS \