dokka
dokka copied to clipboard
Fix incorrect links for inherited java methods from a collection
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:
- After removing typealiases, this logic is not needed anymore
- #3054 would be fixed as well
Other possible solutions can require a non-trivial logic.
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.