diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-09-02 08:09:57 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-10-17 14:04:55 +0000 |
commit | d859d37ad104ab7e6264c634aff11696196e1bee (patch) | |
tree | e49c5ee88cf71e8bd16b3d0539adf69245743170 | |
parent | 43935fbd9defa668e8e525686f4324c8fc3d650d (diff) | |
download | qttools-d859d37ad104ab7e6264c634aff11696196e1bee.tar.gz |
qdoc: Do not add 'doc' as example tag to manifest files
Some demos are in the qtdoc module; avoid having 'doc' as tag there.
Change-Id: I81f27f06f424ed887b53aea8c9fe79b1757a6995
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
(cherry picked from commit cb4dabb6b5532302359721237fa64df681082c64)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/qdoc/manifestwriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qdoc/manifestwriter.cpp b/src/qdoc/manifestwriter.cpp index ab1ddaaae..f4d3a77c7 100644 --- a/src/qdoc/manifestwriter.cpp +++ b/src/qdoc/manifestwriter.cpp @@ -288,6 +288,9 @@ void ManifestWriter::addModuleNameAsTag() QString moduleName = m_project; if (moduleName.startsWith("Qt")) moduleName = moduleName.mid(2); + // Some examples are in QtDoc module, but 'doc' as tag makes little sense + if (moduleName == "Doc") + return; m_tags << moduleName.toLower(); } |