QDoc: Extract URL computation from Generator into HrefResolver


URL computation for documentation links depends on Generator statics
and mutates nodes to cache intermediate results. Renderers outside
the hierarchy can't compute URLs. The mutation also prevents
const-correct usage for parallel rendering.

This extracts the core URL computation into a dedicated class with
an external cache, removing the node mutation constraint. Subsequent
commits in this series eliminate the remaining Generator dependencies
to make the class fully standalone.

Task-number: QTBUG-144552
Change-Id: I53819695ab29fa393a45cc4ae5626c74126caf60
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit76128c044194d944ffde8f7d0723b2fa0c961c5d
parent10225f372b89d6d41dd71bd9c367032b8c46a0c8
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 11 Mar 2026 15:00:34 +0100