QDoc: Pass a render context to the template bridge


The template generator tells the template bridge only which output
format it's rendering. The bridge has no way to know which page or
template a render belongs to, so it can't say where a failure happened.

Each render now carries the output format, the page being rendered, and
the template in use. Rendered output doesn't change; a follow-up change
uses the page and template to make render errors diagnosable.

Task-number: QTBUG-146939
Pick-to: 6.12
Change-Id: If3510bae95d25c6221982a3d684d3028ca88ce89
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commitb818eaae55e9648c1a5920267925d53fb14c8a63
parentae3d89a558c6abbf7671d1d9b9cc552894d95272
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 1 Oct 2026 13:53:31 +0000