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

Generated classes in multiplatform project not processed by dokka #1776

Closed
Alex009 opened this issue Mar 14, 2021 · 0 comments · Fixed by #1832
Closed

Generated classes in multiplatform project not processed by dokka #1776

Alex009 opened this issue Mar 14, 2021 · 0 comments · Fixed by #1832
Labels
Milestone

Comments

@Alex009
Copy link

Alex009 commented Mar 14, 2021

Describe the bug
I use codegeneration for kotlin multiplatform project to generate http client api code.
generator is - https://github.com/icerockdev/moko-network
When i use dokka i got generation documentation of my classes that in application code, but not have generated api classes in result.

Expected behaviour
Generated classes should be processed by dokka too and appended into documentation.

To Reproduce
clone moko-network https://github.com/icerockdev/moko-network/
select branch dokka-bug-reproducer
call ./gradlew dokkaHtml
open sample/mpp-library/build/dokka/html/mpp-library/index.html
you will not see here classes from sample/mpp-library/build/generated/moko-network/profile/src/main/kotlin for example.

Dokka configuration
In commit - icerockdev/moko-network@6734feb

Installation

  • Operating system: macOS
  • Build tool: Gradle 6.8.2
  • Dokka version: 1.4.20

Additional context
i think here reason of bug - https://github.com/Kotlin/dokka/blob/master/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt#L61

but i have no control of suppressed files. I think suppressing should be controlled by consumer project configuration.

@Alex009 Alex009 added the bug label Mar 14, 2021
@MarcinAman MarcinAman added this to the 1.4.31 milestone Mar 17, 2021
@MarcinAman MarcinAman linked a pull request Apr 9, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants