QDoc: Dispatch block-level atoms to content model


Documentation pages commonly contain code examples, lists, notes,
warnings, and horizontal rules. Without content model dispatch for
these atoms, the builder only handles inline content and paragraphs,
leaving the most structurally rich parts of documentation pages as
gaps in the IR output.

The builder now converts block-level atoms into their corresponding
content blocks. Code snippets carry language and error-state metadata,
lists nest items with paragraph children, and admonition blocks
(notes, warnings) wrap their content in typed containers. Annotated
and generated list placeholders become attributed divs for downstream
template expansion.

Fixes: QTBUG-144240
Change-Id: I7b7c3a9e2d1f4085b6e8d9c0a3f5127e4d6b8a0c
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit1b8e34627033396f25f945cb0c2cd51d7782027f
parentabc7c7ccfa7880777e896f91af4a0751118d417d
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeFri, 20 Feb 2026 13:54:26 +0100