Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K2] Link to an inherited declaration in @see block replace class container to parent one in link label #3680

Open
atyrin opened this issue Jul 8, 2024 · 0 comments
Labels
bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888

Comments

@atyrin
Copy link
Contributor

atyrin commented Jul 8, 2024

Relates to #3350

The code

open class Bar { fun foo() {} }
class Foo : Bar()

/**
 * I describe class Foo and method foo here: [Foo.foo]
 * And then describe class Bar and method foo here: [Bar.foo]
 *
 * @see [Foo.foo]
 */
fun usage() {}

Rendered in K2 mode as:

image

Here @see [Foo.foo] replaces with [Bar.foo]. That is not happened in the description body.


In K1 the reference in @see was not resolved.
image


Installation

  • Dokka version: 2.0.0
@atyrin atyrin added bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888 labels Jul 8, 2024
@atyrin atyrin changed the title [K2] Link to an inherited declaration in @see block replace class container to parent one [K2] Link to an inherited declaration in @see block replace class container to parent one in link label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888
Projects
None yet
Development

No branches or pull requests

1 participant