@@ -2,6 +2,7 @@ import kotlinx.html.*
22import kotlinx.html.stream.createHTML
33import org.jetbrains.dokka.base.DokkaBase
44import org.jetbrains.dokka.base.DokkaBaseConfiguration
5+ import org.jetbrains.dokka.gradle.DokkaTaskPartial
56
67buildscript {
78 dependencies {
@@ -51,6 +52,12 @@ subprojects {
5152 version = rootProject.version
5253 group = rootProject.group
5354
55+ tasks.withType<DokkaTaskPartial >().configureEach {
56+ pluginConfiguration<DokkaBase , DokkaBaseConfiguration > {
57+ footerMessage = createFooterMessage()
58+ }
59+ }
60+
5461 tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > ().all {
5562 kotlinOptions {
5663 jvmTarget = " 11"
@@ -117,6 +124,7 @@ tasks.dokkaHtmlMultiModule {
117124 outputDirectory.set(docsDir.resolve(" $version " ))
118125 pluginConfiguration<DokkaBase , DokkaBaseConfiguration > {
119126 customAssets + = file(projectDir.resolve(" dokka/logo-dark.svg" ))
127+ customAssets + = file(projectDir.resolve(" dokka/logo-icon.svg" ))
120128 customStyleSheets + = file(projectDir.resolve(" dokka/logo-styles.css" ))
121129 footerMessage = createFooterMessage()
122130 }
@@ -160,6 +168,7 @@ fun createDocsIndexPage(): String {
160168 meta(charset = " utf-8" )
161169 link(href = " ./$version /styles/style.css" , rel = " Stylesheet" )
162170 link(href = " ./$version /styles/logo-styles.css" , rel = " Stylesheet" )
171+ link(href = " ./$version /images/logo-icon.svg" , rel = " icon" )
163172 title(" modelix.core API Reference" )
164173 style {
165174 unsafe {
0 commit comments