dokka icon indicating copy to clipboard operation
dokka copied to clipboard

ui-kit assets not overridable (html doc)

Open rlatapy-luna opened this issue 11 months ago • 1 comments

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

rlatapy-luna avatar Jan 27 '25 08:01 rlatapy-luna

Hi! Any update on this issue?

Mr3zee avatar Jun 24 '25 12:06 Mr3zee

Fixed by #4176 and will be available in Dokka 2.1.0

whyoleg avatar Aug 25 '25 12:08 whyoleg