Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Published Dokka: Missing package list #268

Open
hfhbd opened this issue Apr 24, 2023 · 3 comments
Open

Published Dokka: Missing package list #268

hfhbd opened this issue Apr 24, 2023 · 3 comments

Comments

@hfhbd
Copy link
Contributor

hfhbd commented Apr 24, 2023

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
Copy link
Contributor

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
Copy link
Contributor Author

hfhbd commented Apr 25, 2023

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

@dkhalanskyjb
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@hfhbd @lukellmann @dkhalanskyjb and others