QDoc: Render concept anchors in template output
The template generator's synopsis renderer has no handling
for link span elements. Concept references reach it as
discrete link elements, so they fall through to escaped
text and miss their documentation target. Readers
consuming the HTML template output see the same flat text
the legacy renderer used to emit.
The renderer now dispatches by output format. In HTML, link
elements become anchors that carry the concept's
documentation target, including the dependency-aware href
for cross-module references that the legacy renderer already
produced. Threading the output format through the bridge
lets each call site declare the surface it produces, so the
matching Markdown rendering can follow.
Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I126cdebf0e6094548a7250703d29c3e3f8379ea9
Reviewed-by: Topi Reinio <topi.reinio@qt.io>