Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.45k stars 412 forks source link

Flatten package-level page? #3923

Open martinbonnin opened 1 week ago

martinbonnin commented 1 week ago

When going to package-level page, such as https://apollographql.github.io/apollo-kotlin/kdoc/apollo-runtime/com.apollographql.apollo/index.html, the functions and properties are displayed as tabs:

Screenshot 2024-11-15 at 11 50 41

I often forget where to click to find the functions and it makes it harder to search in the page with Ctrl + F for something that may be a function or maybe a property.

On the other hand, on a type page, there is a single "Members" tab where everything is accessible by default. For an example: https://apollographql.github.io/apollo-kotlin/kdoc/apollo-runtime/com.apollographql.apollo/-apollo-client/index.html

Screenshot 2024-11-15 at 11 51 23

Could package-level pages behave similarly?