Kotlin / dokka

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

Configure default documentedVisibilities for perPackageOptions #3799

Closed adam-enko closed 2 months ago

adam-enko commented 2 months ago

Set DokkaPackageOptionsSpec.documentedVisibilities convention value to Public.

This matches the existing behaviour in DGPv1

https://github.com/Kotlin/dokka/blob/a3d5d43fa383141fae41bb88a1900e94e68c3fd7/dokka-runners/dokka-gradle-plugin/src/classicMain/kotlin/GradlePackageOptionsBuilder.kt#L68-L71

Fix KT-70872