Skip to content

Commit

Permalink
Doc: Prevent QDoc from auto-linking certain words
Browse files Browse the repository at this point in the history
'macOS' appears in the documentation frequently, and because it
resembles a variable/property name, QDoc links each occurrence
of it.

'WebChannel' appears as part of a module name, but it's also
a QML type - auto-linking each word to QML documentation is
confusing.

Likewise, there's no need to link 'OpenGL' each time.

Explicit links such as \l [QML] WebChannel continue to work.

Task-number: QTBUG-79135
Change-Id: I76cc84b0076255e260aa88c244102702a48f35a6
Reviewed-by: Martin Smith <[email protected]>
  • Loading branch information
toreinio committed Oct 19, 2019
1 parent 1b6db18 commit 51edfdd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/global/config.qdocconf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ dita.metadata.default.audience = programmer
navigation.homepage = index.html
navigation.hometitle = "Qt $QT_VER"

#Words to ignore for auto-linking
ignorewords += \
macOS \
WebChannel \
OpenGL

sourcedirs += includes $$BUILDDIR

url = http://doc.qt.io/qt-5
Expand Down

0 comments on commit 51edfdd

Please sign in to comment.