mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8217034: JavadocTester should check for missing files by default
Reviewed-by: hannesw
This commit is contained in:
parent
454cbfacaa
commit
c932d8294b
13 changed files with 64 additions and 20 deletions
|
@ -25,6 +25,8 @@
|
|||
|
||||
package jdk.javadoc.internal.doclets.formats.html;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
import jdk.javadoc.internal.doclets.formats.html.markup.Head;
|
||||
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
||||
import jdk.javadoc.internal.doclets.formats.html.markup.DocType;
|
||||
|
@ -78,6 +80,7 @@ public class IndexRedirectWriter extends HtmlDocletWriter {
|
|||
Content htmlComment = contents.newPage;
|
||||
Head head = new Head(path, configuration.htmlVersion, configuration.docletVersion)
|
||||
.setTimestamp(true)
|
||||
.setStylesheets(configuration.getMainStylesheet(), Collections.emptyList()) // avoid reference to default stylesheet
|
||||
.addDefaultScript(false);
|
||||
|
||||
String title = (configuration.windowtitle.length() > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue