I believe this issue is Dokka related but since i ...
# coroutines
g
I believe this issue is Dokka related but since i found it in the coroutines documentation i will first mention it here. In https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-completable-deferred/ , if you click on
completion exception
link, you get a 404 because the link is https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-completable-deferred/get-completion-exception-or-null.html which does not exist. if you remove the
-completable
from the link, it links to the correct page I had a look at the code and indeed
getCompletionExceptionOrNull
is part of
Deferred
. Clicking the KDoc link through the IDE works and you get navigated to the function. Is this a coroutines issue (the link inside KDoc) or Dokka which should generate the correct link?
a
thanks for noticing! The KDoc in the source code, so it looks like a Dokka issue to me. @Oleg Yukhnevich
👍 1
o
Yeah, that's definitely Dokka's issue - it should be resolved I've checked, and it works fine with Dokka's K2 analysis, which will be enabled by default in Dokka 2.1.0 - so it will be fixed automatically then 🙂
👍 1