mkdocstrings / mkdocstrings

:blue_book: Automatic documentation from sources, for MkDocs.
https://mkdocstrings.github.io/
ISC License
1.72k stars 108 forks source link

Feature: Kotlin Support #704

Open solonovamax opened 1 week ago

solonovamax commented 1 week ago

Is your feature request related to a problem? Please describe.

Currently, Kotlin code is not supported.

Describe the solution you'd like

Support Kotlin code & KDoc.

Describe alternatives you've considered

Not adding it.

Additional context

Related: #99

Boost priority

Fund with Polar

pawamoy commented 1 week ago

Thanks for the request @solonovamax! You mention #99 in the additional context, could you elaborate on why this is related to the Java handler?

solonovamax commented 6 days ago

You mention #99 in the additional context, could you elaborate on why this is related to the Java handler?

kotlin & java are both closely related as they run on the jvm platform. (well, kotlin can also be multiplatform, however it is primarily used for the jvm platform)

kotlin's documentation tool, dokka, also generates documentation that is quite similar to what javadoc generates. you'd even ingest its packages/classes the same way as you would with javadoc.