QDoc: Suppress empty-label headings in annotated-examples expansion
The annotated-examples catalog emits a section heading and a
table per example group. The heading is emitted unconditionally,
even when the group's label is an empty string. Examples
bucketed under an empty key — a case that arises in
documentation projects without a module landing page — therefore
arrive at the template carrying a heading whose visible text is
nothing, and the rendered page gains a decorative empty heading
that contributes nothing readers would notice.
The legacy HtmlGenerator has always guarded this case. The
template generator now matches: an empty-label group renders its
table without a preceding heading, while labeled groups continue
to render the heading-and-table pair as before. Mixed inputs
render only the headings that carry text.
Task-number: QTBUG-146601
Change-Id: I9375c567aaf240f74887814e5575176afc42ac58
Reviewed-by: Topi Reinio <topi.reinio@qt.io>