QDoc: Render catalog blocks inside section blocks


The template generator's content_blocks partials carry two parallel
block-type dispatch chains: a top-level chain that walks every block
in a document body, and an inner chain inside the section branch
that walks each section's children. The earlier work introducing
the catalog and list-placeholder block types extended only the
top-level chain, leaving the inner chain unaware. As a result, any
catalog directive that appeared inside a doc section — the typical
shape of \\generatelist and \\annotatedlist usage in real Qt module
documentation — silently fell through to the inner else branch and
emitted the catalog's plain-text concatenation in place of the
expected table or list.

The section dispatch in both the HTML and Markdown content_blocks
partials now recognizes catalog and list-placeholder children. A
new fixture page wraps catalog directives in section blocks so the
test suite anchors the embedded path the way a fixture should — if
the duplicated chains drift again, this page catches it before
real module docs do.

Task-number: QTBUG-143355
Change-Id: I1c45be07138c349e508275c626e159a268b57d7d
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commita1b7efbc228fbee03cc39cad286c804a9990046a
parent9288c916fe224e58ff6039556053a5f38521cafe
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 7 May 2026 09:21:01 +0000