Closed MGaetan89 closed 4 weeks ago
Describe the bug
In my project, I've added the following source set configuration in order to have links to the Ktor API documentation:
dokka { dokkaSourceSets.getByName("main") { externalDocumentationLinks.register("ktor") { url.set(URI("https://api.ktor.io")) packageListUrl.set(URI("https://api.ktor.io/package-list")) } } }
However, my generated Dokka documentation points to the wrong link. For example, given the following KDoc:
import io.ktor.client.plugins.ClientRequestException /** * Some documentation using [ClientRequestException]. */
The link on ClientRequestException will point to: https://api.ktor.io/ktor-client-core/io.ktor.client.plugins/-client-request-exception/index.html instead of: https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.plugins/-client-request-exception/index.html (note the missing ktor-client folder after the hostname).
ClientRequestException
ktor-client
Expected behaviour
The link on ClientRequestException should point to the right page.
Installation
same as https://github.com/Kotlin/dokka/issues/2444
Oops, sorry about that. I'll close this issue to keep the discussion in one place.
Describe the bug
In my project, I've added the following source set configuration in order to have links to the Ktor API documentation:
However, my generated Dokka documentation points to the wrong link. For example, given the following KDoc:
The link on
ClientRequestException
will point to: https://api.ktor.io/ktor-client-core/io.ktor.client.plugins/-client-request-exception/index.html instead of: https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.plugins/-client-request-exception/index.html (note the missingktor-client
folder after the hostname).Expected behaviour
The link on
ClientRequestException
should point to the right page.Installation