QDoc: Make brief handling configurable in content builder


The content builder hardcodes a skip gate for content between brief
markers. This serves the IR path, where the brief is stored as a
separate field and including it in the body would cause duplication.
The assumption is correct but implicit.

This change parameterizes the decision so the builder's contract
is explicit about brief handling. The default preserves the skip
behavior. An include option exists for callers that need the brief
rendered as the opening paragraph of the body.

Task-number: QTBUG-144554
Change-Id: I29541f2e9d94500d61180221b11e60250e19ef14
Reviewed-by: David Boddie <david.boddie@qt.io>
commita00b613ed560f81678dde59061b31cdb5f832dee
parentfa782e753a3d5fad4b59a3776ef6fdf50888440d
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 11 Mar 2026 15:00:41 +0100