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

Nested class page not shown in hierarchy #1879

Closed
rnett opened this issue Apr 22, 2021 · 4 comments
Closed

Nested class page not shown in hierarchy #1879

rnett opened this issue Apr 22, 2021 · 4 comments
Labels

Comments

@rnett
Copy link
Contributor

rnett commented Apr 22, 2021

Describe the bug
I have a class like:

sealed class KrosstalkResult{
    data class Success(): KrosstalkResult()
    data class HttpError(): KrosstalkResult()
}

Nested classes are shown properly on the KrosstalkResult page. However, navigating to one of the nested class's pages results in this:
image

The page is correct, but the navigation sidebar is collapsed instead of showing the location of the class.

Expected behaviour
Nested class pages are present in the navigation sidebar, and their location is shown in the sidebar when they are opened.

Screenshots
If applicable, add screenshots to help explain your problem

To Reproduce
https://github.com/rnett/krosstalk/blob/5e5a8cc4ed0120d25e0e0dd084796c583aa665aa/build.gradle.kts

Dokka configuration
https://github.com/rnett/krosstalk/blob/5e5a8cc4ed0120d25e0e0dd084796c583aa665aa/build.gradle.kts

Installation

  • Operating system: Windows
  • Build tool: Gradle v6.8.3
  • Dokka version: 1.4.32
@rnett rnett added the bug label Apr 22, 2021
@DanielRibeiroMaciel-TomTom
Copy link

We see the same problem as well.

@IngoHaumann-TomTom
Copy link

This issue is still present in version 1.7.10.

@IgnatBeresnev
Copy link
Member

@IgnatBeresnev
Copy link
Member

Looks like this has been implemented in #2597, released in 1.7.20. I tried to write a similar reproducer, works fine. Please let me know if I understood it wrong.

2023-03-08_21-46-13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants