We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e15067c commit 550a4b8Copy full SHA for 550a4b8
documentation/documentation.gradle.kts
@@ -429,6 +429,7 @@ tasks {
429
"Platform" to listOf("org.junit.platform*")
430
)
431
addStringOption("-add-stylesheet", additionalStylesheetFile)
432
+ addBooleanOption("-no-fonts", true)
433
use(true)
434
noTimestamp(true)
435
@@ -481,6 +482,10 @@ tasks {
481
482
return@filter result
483
}
484
485
+ filesMatching("**/stylesheet.css") {
486
+ // Remove invalid import of `dejavu.css` due to `javadoc --no-fonts`
487
+ filter { line -> if (line.startsWith("@import url('fonts/")) null else line }
488
+ }
489
490
into(layout.buildDirectory.dir("docs/fixedJavadoc"))
491
0 commit comments