QDoc: Wire structured content into documentation templates


Documentation pages rendered by the template generator display body
content as flat, unformatted text. Paragraphs, code blocks, lists,
headings, and inline formatting are stripped, leaving readers with a
wall of unstyled text that loses the structural cues authors intended.

Templates now render documentation body as structured content with
full formatting. Paragraphs, code blocks with language highlighting,
lists, headings, notes, and inline formatting such as bold, italic,
links, and code spans render through HTML and Markdown partials.
Content too deeply nested for the template's explicit depth falls
back to plain text, preserving content at the cost of formatting.

Fixes: QTBUG-144245
Change-Id: I3ed95de0cb2f238ee15c0fde49c34022b7cb8e26
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit6765e7228babef8d60d05bd89d0b3c34be3b889a
parent073b49185370976676456a4001ad9b67f525e896
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 23 Feb 2026 19:41:04 +0100