8000 [K2] Support `[this]` link for extensions · Issue #3207 · Kotlin/dokka · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
[K2] Support [this] link for extensions #3207
Closed
@vmishenev

Description

@vmishenev

IDE and K1 support [this] links for documentation of extensions, but only for them. (not member)
We already have such links in user projects, e.g. in https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization.descriptors/get-contextual-descriptor.html.
In Dokka K1 [this] has an incorrect link that leads to a page of containing package. For example, fun pkcg.SomeClass.f() a [this] link references to the pkcg page.
In IDE [this] points to a receiver parameter, but Dokka does not support direct links to parameters (old Dokka does, example) , so Dokka K2 should just open a page of the receiver type.
It depends on ✔️ https://youtrack.jetbrains.com/issue/KT-62407

Also, see #3197

Metadata

Metadata

Assignees

Labels

bugtopic: K2Issues / PRs that are related to the K2 migration. See #2888

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0