QDoc: Add extra tags when no HTML.endheader is specified.
The default Qt template inserts </head><body> with some arguments in the header of the HTML document. When you don't specify the HTML.endheader qdocconf variable those tags will not be generated and the QTextBrowser-based view in Qt Assistant will not be able to render the documentation. Change-Id: Ieee231f300e1dc71d6b6343771d2682b3de96d73 Reviewed-by: Pierre Rossi <pierre.rossi@nokia.com>
This commit is contained in:
parent
5ac4a1304b
commit
17a68ee65b
@ -1846,7 +1846,10 @@ void HtmlGenerator::generateHeader(const QString& title,
|
||||
// Include style sheet and script links.
|
||||
out() << headerStyles;
|
||||
out() << headerScripts;
|
||||
out() << endHeader;
|
||||
if (endHeader.isEmpty())
|
||||
out() << "</head>\n<body>\n";
|
||||
else
|
||||
out() << endHeader;
|
||||
|
||||
#ifdef GENERATE_MAC_REFS
|
||||
if (mainPage)
|
||||
|
Loading…
Reference in New Issue
Block a user