summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2018-08-30 13:21:29 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2018-08-30 11:37:14 +0000
commitd04bca6cc5210a66d1a314ba595ec229b5dec3aa (patch)
treee424b3a1c74f501d2c989dd4f75ff22ab08e4841
parentdac3046857cce4900083459a6999d66096ffd2e4 (diff)
downloadqttools-d04bca6cc5210a66d1a314ba595ec229b5dec3aa.tar.gz
QDoc: Add check to avoid links to internal classes in online docs
This change prohobits QDoc from generating links to internal classes, that cause thousands of 404s in the online docs. Task-number: QTBUG-67572 Change-Id: I241be67890ed139705128ea021ca084542d4b6bc Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/qdoc/codemarker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/codemarker.cpp b/src/qdoc/codemarker.cpp
index 44d05053e..ae94780de 100644
--- a/src/qdoc/codemarker.cpp
+++ b/src/qdoc/codemarker.cpp
@@ -414,7 +414,7 @@ void CodeMarker::insert(FastSection &fastSection,
}
}
- if (node->access() == Node::Private) {
+ if (node->access() == Node::Private || node->isInternal()) {
irrelevant = true;
}
else if (node->type() == Node::Function) {