diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-06-15 10:58:14 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2021-06-17 11:55:08 +0200 |
commit | b0d6055daa7e52ff85af7c326f54aecf84c2c554 (patch) | |
tree | 4bb191549213cb1ceeea91d98e4258859005e07e /src/qtpaths | |
parent | 41fcd64f704948b2fc9bb054c055ed66aac3f8df (diff) | |
download | qttools-b0d6055daa7e52ff85af7c326f54aecf84c2c554.tar.gz |
qdoc: Stop documenting ignored nodes
There were multiple locations in the code where QDoc still generated
links to nodes that were marked with \internal or \dontdocument, or
generated lists that included entries (with links to non-existing
files) representing these nodes.
* Set an empty (but non-null) url for ignored nodes. This
also speeds up searching for link targets as nodes can
be dismissed early based on their url().
* Use Node::isDontDocument() as a conditional in Node::isInAPI(),
and filter CollectionNode's members based on the latter - this
removes ignored classes/functions from module pages and group
listings.
* Fix TagFileWriter to drop ignored nodes.
Fixes: QTBUG-94555
Change-Id: Icab05f7aa78e455c15ce097b9f99f5fce7267d3f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 1246e064caaa6243c941d795eb877c519bce69ad)
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qtpaths')
0 files changed, 0 insertions, 0 deletions