https://kotlinlang.org logo
#dokka
Title
# dokka
p

Piotr Krzemiński

02/03/2023, 9:19 AM
I’d like to somehow divide the docs for entities, think: public and internal API like here. More specifically, see these docs: https://krzema12.github.io/github-workflows-kt/api-docs/ - almost all stuff in package starting with
it.krzeminski.githubactions.actions
should go somewhere else because they contain generated code. Is it possible with Dokka?
v

Vadim Mishenev

02/04/2023, 12:28 PM
It is impossible, but you can create a custom plugin. Anyway, I have created an issue for this feature. Currently, I think you can use https://kotlinlang.org/docs/dokka-gradle.html#package-options to suppress
it.krzeminski.githubactions.actions.*
packages for public documentation. So you can run Dokka two times to generate two documentation: public and internal API.
p

Piotr Krzemiński

02/04/2023, 12:58 PM
Thank you!
2 Views