Skip to content

Commit

Permalink
Doc: Set trademarks page in global configuration
Browse files Browse the repository at this point in the history
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ö <[email protected]>
  • Loading branch information
toreinio committed Dec 9, 2024
1 parent 138160f commit 429f565
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/global/config.qdocconf
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 429f565

Please sign in to comment.