Skip to content

Commit d31f64e

Browse files
authored
Update Gradle Dokka configuration to make sure "source" button is visible in all API docs (#323)
1 parent c349b7e commit d31f64e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ tasks.withType<AbstractDokkaLeafTask>().configureEach {
406406
matchingRegex.set(".*\\.internal\\..*")
407407
suppress.set(true)
408408
}
409+
sourceLink {
410+
localDirectory.set(rootDir)
411+
remoteUrl.set(URL("https://github.com/kotlin/kotlinx-datetime/tree/latest-release"))
412+
remoteLineSuffix.set("#L")
413+
}
409414
}
410415
}
411416

0 commit comments

Comments
 (0)