Kotlin / kotlinx-datetime

KotlinX multiplatform date/time library
Apache License 2.0
2.42k stars 101 forks source link

Published Dokka: Missing package list #268

Open hfhbd opened 1 year ago

hfhbd commented 1 year ago

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
lukellmann commented 1 year ago

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

hfhbd commented 1 year ago

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

dkhalanskyjb commented 11 months ago

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