qtbase/doc/global/config.qdocconf
Topi Reinio 3b4a7d4881 Doc: Set trademarks page in global configuration
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ö <topi.reinio@qt.io>
(cherry picked from commit 429f565017f7213a91eb0cf43966b2148e0bb651)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-20 07:23:04 +00:00

47 lines
1.2 KiB
Plaintext

#Include this file to inherit configuration related to Qt Project based modules.
dita.metadata.default.author = Qt Project
dita.metadata.default.permissions = all
dita.metadata.default.publisher = Qt Project
dita.metadata.default.copyryear = 2024
dita.metadata.default.copyrholder = The Qt Company Ltd
dita.metadata.default.audience = programmer
# Define `productname` such that `\since` prepends version numbers with `Qt`.
# Required from Qt 6.9 onwards.
productname = Qt
#Set the main Qt index.html
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 \
WebChannel \
WebSocket \
WebSockets \
OpenGL
# Omit \since information for items introduced before Qt 6
ignoresince = 6.0
sourcedirs += includes $$BUILDDIR
exampledirs += snippets
url = https://doc.qt.io/qt
defines += qt6
# Require Qt modules to define qhp.projects
qhp = true
# Disable writing host-specific paths into .index files
locationinfo = false
# Include the warninglimit used for documentation testing in CI
include(warninglimit.qdocconf)