QDoc: Skip inclusion filtering for index-loaded nodes
Nodes loaded from dependency .index files have synthetic NodeContext data:
placeholder documentation, reconstituted visibility flags, and incomplete
local metadata. Applying the current module's InclusionPolicy to those
nodes can reject entities that the upstream module already published as
documented.
Skip InclusionFilter for index-loaded nodes in HrefResolver. Locally owned
nodes still use the normal inclusion policy, while dependency nodes remain
linkable based on the upstream index data.
Fixes: QTBUG-146865
Change-Id: Id6ea444000b3a833fb3d8efcf0018c825fb6dde9
Reviewed-by: David Boddie <david.boddie@qt.io>
Reviewed-by: Topi Reinio <topi.reinio@qt.io>