Skip to content

Commit 0472b77

Browse files
committed
build: fixed api ref footer not being applied to subpages
1 parent 087aaee commit 0472b77

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import kotlinx.html.*
22
import kotlinx.html.stream.createHTML
33
import org.jetbrains.dokka.base.DokkaBase
44
import org.jetbrains.dokka.base.DokkaBaseConfiguration
5+
import org.jetbrains.dokka.gradle.DokkaTaskPartial
56

67
buildscript {
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"

0 commit comments

Comments
 (0)