QDoc: Introduce list-expander with annotated-classes support
The content builder emits typed placeholder blocks for
\generatelist and \annotatedlist, but nothing in the
template-generator pipeline turns those placeholders into
populated catalog pages. The classes index, the examples index,
and group overview pages arrive at the template layer as bare
placeholders the partials have no way to fill, so catalog-driven
pages ship blank.
A new expansion pass walks the block tree and replaces each
placeholder with a populated catalog the template can render
directly. Data flows in through driver-populated callbacks, so
the expansion logic stays free of driver-layer dependencies and
stands on its own under unit test. Empty enumerations drop the
placeholder and notify the driver so authors see the
misconfiguration in the build output. The annotated-classes
variant lands first; the same framework carries the other
catalog shapes.
Task-number: QTBUG-146596
Change-Id: I367035611eb6484f0a02034a18ec647ea44cc8a0
Reviewed-by: Topi Reinio <topi.reinio@qt.io>