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>