File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -355,3 +355,7 @@ allprojects { subProject ->
355355 }
356356 }
357357}
358+
359+ tasks. named(" dokkaHtmlMultiModule" ) {
360+ pluginsMapConfiguration. set([" org.jetbrains.dokka.base.DokkaBase" : """ { "templatesDir": "$projectDir /dokka-templates" }""" ])
361+ }
Original file line number Diff line number Diff line change 1+ # Customize Dokka's HTML.
2+ To customize Dokka's HTML output, place a file in this folder.
3+ Dokka will find a template file there. If the file is not found, a default one will be used.
4+ This folder is defined by the templatesDir property.
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ tasks.withType(DokkaTaskPartial::class).configureEach {
2727
2828tasks.withType(DokkaTaskPartial ::class ).configureEach {
2929 suppressInheritedMembers.set(true )
30+ pluginsMapConfiguration.set(mapOf (" org.jetbrains.dokka.base.DokkaBase" to """ { "templatesDir" : "${rootProject.projectDir.resolve(" dokka-templates" )} " }""" ))
31+
3032 dokkaSourceSets.configureEach {
3133 jdkVersion.set(11 )
3234 includes.from(" README.md" )
You can’t perform that action at this time.
0 commit comments