dokka
dokka copied to clipboard
Parenthesis inside KDoc links
There is still a difference in K1 and K2 with references like [A.someExtension()]
(with brackets)
K1
K2
But K1 reference leads to the same page as receiver.
For [A.someExtension]
everything is fine.
Originally posted by @atyrin in https://github.com/Kotlin/dokka/issues/3234#issuecomment-2092590106
Also, there is the example in the coroutines codebase:
https://github.com/Kotlin/kotlinx.coroutines/blob/cd696d3f8f4afdbc735915c2bded974616331b55/kotlinx-coroutines-core/common/src/CoroutineScope.kt#L16
These links [CoroutineScope()]
and [MainScope()]
are unresolved in K1 and K2.