QDoc: Emit default stylesheet to output directory


The stylesheet exists in the binary but doesn't reach the output
directory where browsers can load it. Templates also need to know
whether the stylesheet is available so they can reference it
conditionally.

The stylesheet is now copied to the output directory during document
preparation and refreshed on each run to prevent stale copies. A
per-format qdocconf toggle controls emission, defaulting to off so
only formats that explicitly opt in receive the stylesheet. Both the
document and JSON render paths expose the toggle state to templates.

Task-number: QTBUG-145132
Change-Id: I27bcd6f190c937095cdec6d7a7e05053d0e2999a
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit5d954e202c86505a4a7a3fb40d2941c529de2712
parent9a380f79cc13ab41796c16b867757a42af0a0050
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 24 Mar 2026 08:32:55 +0100