QDoc: Build thread safety admonition as content blocks
Thread safety admonitions previously used a levelHref field that
resolved the topic link during extraction, bypassing the content block
pipeline that every other link in the IR flows through. Exception
member links were stored as separate metadata lists and rendered by
hand-constructed template logic.
The admonition text is now built as ContentBlockIR entries in the IR
Builder. Topic links ("reentrant", "thread-safe") are InlineType::Link
entries with Unresolved state, resolved by resolveDocumentLinks()
alongside body and member content. Exception member links carry
pre-resolved hrefs and Resolved state, passing through the resolver
unchanged. Templates iterate the admonition blocks using the standard
inline rendering pattern, replacing the previous per-level conditional
construction.
Task-number: QTBUG-145769
Change-Id: I78a2fd386668802544250e13ab1cf2c9836f4103
Reviewed-by: Topi Reinio <topi.reinio@qt.io>