Skip to content

Commit 3592a8c

Browse files
committed
Use a local version of stdlib's package-list file for docs
1 parent d7de5f5 commit 3592a8c

File tree

2 files changed

+236
-0
lines changed

2 files changed

+236
-0
lines changed

Diff for: gradle/dokka.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ dokka {
3535
outputFormat = 'kotlin-website'
3636
dependsOn(project.configurations.dokkaStubs)
3737

38+
noStdlibLink = true
39+
40+
externalDocumentationLink {
41+
packageListUrl = rootProject.projectDir.toPath().resolve("site/stdlib.package.list").toUri().toURL()
42+
url = new URL("https://kotlinlang.org/api/latest/jvm/stdlib/")
43+
}
44+
3845
if (project.name != "kotlinx-coroutines-core") {
3946
dependsOn(project.configurations.compileClasspath)
4047
dependsOn(project.sourceSets.main.output)

0 commit comments

Comments
 (0)