dokka
dokka copied to clipboard
ui-kit assets not overridable (html doc)
Describe the bug
- https://github.com/Kotlin/dokka/pull/3917 has broke assets overload as assets were moved to ui-kit/asset folder
- Doc is now wrong https://github.com/Kotlin/dokka/blob/56d44a4aadb4287c41493035514fda829c1ebcca/dokka-runners/dokka-gradle-plugin/src/main/kotlin/engine/plugins/DokkaHtmlPluginParameters.kt#L97-L105
Expected behaviour
A way to override assets in ui-kit/assets
To Reproduce
Set a custom svg named homepage.svg in customAssets -> not used in generated html doc
Dokka configuration Configuration of dokka used to reproduce the bug
dokka {
pluginsConfiguration.html {
customAssets.from("homepage.svg")
homepageLink.set("https://github.com/Kotlin/dokka")
}
}
Installation
- Operating system: macOS
- Build tool: Gradle v8.12
- Dokka version: 2.0
Hi! Any update on this issue?
Fixed by #4176 and will be available in Dokka 2.1.0