Disable custom stylesheet for Javadoc

The custom stylesheet used with JDK 8 no longer works with JDK 17.

Thus in order to make the generated Javadoc usable, we are disabling
the custom stylesheet for the time being.

See gh-27496
This commit is contained in:
Sam Brannen 2021-10-19 16:42:22 +02:00
parent 22f75d9ea9
commit aa5a2a8600
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ task api(type: Javadoc) {
header = rootProject.description
use = true
overview = "src/docs/api/overview.html"
stylesheetFile = file("src/docs/api/stylesheet.css")
// Disable custom stylesheet until we resolve https://github.com/spring-projects/spring-framework/issues/27496
// stylesheetFile = file("src/docs/api/stylesheet.css")
splitIndex = true
links(project.ext.javadocLinks)
addBooleanOption('Xdoclint:syntax', true) // only check syntax with doclint