diff options
author | Topi Reinio <topi.reinio@qt.io> | 2019-10-10 13:57:53 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2019-12-18 14:37:05 +0100 |
commit | c2566a8c56f19b0c704a99b9d22997747e21f82a (patch) | |
tree | 7d81119cf3419dba3591552f7e693c498ed9f813 /src/kmap2qmap | |
parent | ed6658c2c82e2d91f34d57e88b61648fb301baf4 (diff) |
qdoc: Introduce ignorewords configuration variable
QDoc automatically generates hyperlinks for words that qualify for
auto-linking. This may become a problem whenever there is a qualified
word as a section or a page title, and that word appear in the
documentation frequently. For example, 'macOS' is mentioned often
and each occurrence is linked, which is unnecessary and sometimes
confusing.
Provide a way to exclude specified words from being auto-linked.
Create a new helper function, DocParser::isAutoLinkString(), to
determine whether a string qualifies, and replace duplicated
code with calls to that function.
Fixes: QTBUG-79135
Change-Id: Ie53fe7ca0692f7b8e10a5f2208df5cd2ee2aab1d
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/kmap2qmap')
0 files changed, 0 insertions, 0 deletions