dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Changes in custom CSS are ignored on incremental documentation rebuild

Open atyrin opened this issue 3 years ago • 1 comments

For a configured project with a custom CSS (and probably assets), incremental documentation rebuild ignores changes in static files.

Dokka configured for multiModule project. The configuration contains:

pluginConfiguration<org.jetbrains.dokka.base.DokkaBase, org.jetbrains.dokka.base.DokkaBaseConfiguration> {
//            customAssets = listOf(file("<path to asset>"))
        customStyleSheets = listOf(file("custom.css"))
    }

I perform changes in custom.css file and re-run task dokkaHtmlMultiModule. But Gradle marks the task as UP-TO-DATE. build clean / --rerun-tasks / changes in build.gradle.kts helps

Installation

  • Dokka version: 1.6.10

atyrin avatar Dec 22 '21 15:12 atyrin