QDoc: Strip license headers from template output


Template files carry Qt license headers for compliance, but these
headers shouldn't appear in generated documentation. Using HTML
comments passes them through to the output, which stamps Qt's
copyright on any documentation created with the new generator,
also for other projects.

This change replaces the html comment markers with Inja template
comment markers. This strips the headers during rendering while
keeping them visible in the template source files.

Task-number: QTBUG-144245
Change-Id: Ied59ebbb014d08a84eb2a354b2f135ad459b6eb2
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
Reviewed-by: David Boddie <david.boddie@qt.io>
commitaf3c47ca1487c8580280a8648f5656075fd56454
parent6765e7228babef8d60d05bd89d0b3c34be3b889a
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 23 Feb 2026 19:41:06 +0100