-
Notifications
You must be signed in to change notification settings - Fork 408
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
Custom module name leads to hidden packages for maven runner #3011
Comments
This happens only for Maven module names that contain a space. The CLI runner is also affected. Bug explanationIn the Maven runner, the Note: override fun toString(): String {
return "$scopeId/$sourceSetName"
} Then there's this code. If a table entry belongs to multiple source sets, this code sets multiple space separated values for dokka/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt Lines 571 to 576 in 21afcb4
When everything is rendered, the following JS code splits these values by space, and then checks whether they are among the active filters: dokka/plugins/base/src/main/resources/dokka/scripts/platform-content-handler.js Lines 325 to 326 in f55e22d
So if However, when the actual filtering happens, in the JS code it'll be split as This leads to the table entry being hidden, as if the filter for it is not currently active. |
Configure the Dokka Maven plugin with custom module name:
As a result, rendered documentation will filter out all sources:
The issue appeared in
1.8.10
. For1.7.20
, it works fine. Also, it does not reproduce for Gradle runner.The text was updated successfully, but these errors were encountered: