From d04bca6cc5210a66d1a314ba595ec229b5dec3aa Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Thu, 30 Aug 2018 13:21:29 +0200 Subject: QDoc: Add check to avoid links to internal classes in online docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Topi Reiniƶ --- src/qdoc/codemarker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1