kotlinx-datetime icon indicating copy to clipboard operation
kotlinx-datetime copied to clipboard

Published Dokka: Missing package list

Open hfhbd opened this issue 2 years ago • 3 comments

Dokka generates a package list to create links if you use this dependency in another project:

// build.gradle.kts
tasks.dokkaHtmlPartial {
    dokkaSourceSets.configureEach {
        externalDocumentationLink("https://cashapp.github.io/sqldelight/2.0.0-alpha05/2.x/")
        externalDocumentationLink("https://kotlinlang.org/api/kotlinx-datetime/")
        externalDocumentationLink("https://uuid.softwork.app")
        externalDocumentationLink("https://kotlinlang.org/api/kotlinx.coroutines/")
    }
}

But for kotlinx-datetime, there is no package list:

Failed to download package-list from https://kotlinlang.org/api/kotlinx-datetime/package-list, this might suggest that remote resource is not available, module is empty or dokka output got corrupted

hfhbd avatar Apr 24 '23 20:04 hfhbd

It just seems to be in a non-standard location, see https://github.com/kordlib/kord/blob/0.9.x/buildSrc/src/main/kotlin/Documentation.kt#L25

lukellmann avatar Apr 25 '23 11:04 lukellmann

Thanks! Still curious to use a different location than kotlinx-coroutines.

hfhbd avatar Apr 25 '23 11:04 hfhbd

Filed https://youtrack.jetbrains.com/issue/KT-63926 for the website team.

dkhalanskyjb avatar Nov 29 '23 15:11 dkhalanskyjb