dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Parenthesis inside KDoc links

Open vmishenev opened this issue 9 months ago • 0 comments

There is still a difference in K1 and K2 with references like [A.someExtension()] (with brackets) K1 image K2 image

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.

image

vmishenev avatar May 27 '24 13:05 vmishenev