dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Fix incorrect links for inherited java methods from a collection

Open vmishenev opened this issue 1 year ago • 1 comments
trafficstars

The bug #2879 stems from inherited external members. The unit test below demonstrates it. The proposed solution is to get rid of the resolving DRI to anchors only in DokkaLocationProvider. There are the following reasons:

  1. After removing typealiases, this logic is not needed anymore
  2. #3054 would be fixed as well

Other possible solutions can require a non-trivial logic.

vmishenev avatar Mar 12 '24 17:03 vmishenev

After a discussion at our meeting, opening external documentation for such members can be a UI issue, e.g. there is no way to come back to the original documentation. I will open an issue later.

Also, I have discovered https://github.com/Kotlin/dokka/issues/3542 It should be discussed as well before merging this PR.

vmishenev avatar Mar 20 '24 14:03 vmishenev