Vladislav Artiukhov
10/16/2025, 10:40 AMio.opentelemetry:opentelemetry-api, the documentation is hosted here; however, for https://javadoc.io, I cannot find a link that would download the package-list (I have several OpenTelemetry modules hosted on javadoc.io).
On the official dokka documentation, I only found examples for kotlinlang.org and docs.oracle.com hosts.
Please suggest to me the way to link documentation from javadoc.io.Vladislav Artiukhov
10/16/2025, 10:41 AMdokka {
dokkaSourceSets.configureEach {
externalDocumentationLinks.register("opentelemetry-api") {
url("<https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/>")
packageListUrl("<https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/package-list>")
}
}
}
But it fails with:
Failed to download package-list from <https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/package-list>, this might suggest that remote resource is not available, module is empty or dokka output got corruptedAdam Semenenko
10/16/2025, 1:32 PMelement-list file (package-list was renamed to element-list in Java 10, so OTel must've been built with a newer JDK).
• https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/1.55.0/element-list works
• https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/latest/element-list doesn't workCLOVIS
10/16/2025, 1:47 PMOleg Yukhnevich
10/16/2025, 3:04 PMIt looks like javadoc.io doesn't support downloading the 'latest' version of theworks at my side (screen proof), but it should befileelement-list
element-list specifically, package-list is just an empty file
And Dokka also follows redirects
Could you recheck with the link changed to point to element-list?
dokka {
dokkaSourceSets.configureEach {
externalDocumentationLinks.register("opentelemetry-api") {
url("<https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/>")
packageListUrl("<https://javadoc.io/doc/io.opentelemetry/opentelemetry-api/element-list>")
}
}
}
(and as a bonus, the Dokka issue about element-list support out-of-the-box without custom packageListUrl)Adam Semenenko
10/16/2025, 3:10 PMlatest/element-list works for me now tooVladislav Artiukhov
10/16/2025, 9:10 PM