From 5cf87e8668c2c723fb23d3dacfad4968e1f3c62f Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 21 Apr 2023 18:44:48 +0200 Subject: [PATCH] Add a link to kotlinlang documentation --- .../dokka-multimodule-example/parentProject/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts b/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts index f82cb029e3..7fb7c11542 100644 --- a/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts +++ b/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts @@ -23,6 +23,8 @@ subprojects { // want to configure sourceLinks at once in `subprojects {}`, you have to find the relative path. // Alternatively, you can move this configuration up into subproject build scripts, // and just hardcode the exact paths as demonstrated in the basic dokka-gradle-example. + // + // Read docs for more details: https://kotlinlang.org/docs/dokka-gradle.html#source-link-configuration sourceLink { val exampleDir = "https://github.com/Kotlin/dokka/tree/master/examples/gradle/dokka-multimodule-example" val projectRelativePath = rootProject.projectDir.toPath().relativize(projectDir.toPath())