Skip to content

External doc links in Dokka are broken #10

@EdricChan03

Description

@EdricChan03

Given the following Dokka configuration:

tasks.withType<DokkaTaskPartial>().configureEach {
    dokkaSourceSets.configureEach {
        // ...

        // Ktor API docs
        externalDocumentationLink("https://api.ktor.io/")
    }
}

When the Ktor HttpClient class is referenced in my code, in the generated docs, it tries to link the API doc to https://api.ktor.io/ktor-client-core/io.ktor.client/-http-client/index.html instead of https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client/-http-client.html.

From what I can tell, this is possibly because the Ktor sources house the Ktor client in a top-level "ktor-client" folder, resulting in the latter instead of the former.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions