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

Changes in custom CSS are ignored on incremental documentation rebuild #2286

Closed
atyrin opened this issue Dec 22, 2021 · 2 comments
Closed

Changes in custom CSS are ignored on incremental documentation rebuild #2286

atyrin opened this issue Dec 22, 2021 · 2 comments
Labels
bug runner: gradle plugin v2 Issues fixed by Dokka Gradle Plugin v2 - see https://github.com/Kotlin/dokka/issues/3131 runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin
Milestone

Comments

@atyrin
Copy link
Contributor

atyrin commented Dec 22, 2021

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 atyrin added bug format: html An issue/PR related to Dokka's default HTML output format labels Dec 22, 2021
@yalishevant yalishevant added this to the Stable milestone Mar 24, 2022
@yalishevant yalishevant added runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin and removed format: html An issue/PR related to Dokka's default HTML output format labels Mar 29, 2022
@yalishevant yalishevant modified the milestones: Stable, Backlog Nov 7, 2022
@IgnatBeresnev IgnatBeresnev modified the milestones: Backlog, Gradle runner 2.0 Aug 17, 2023
@solarday
Copy link

The same behavior in case you make any changes in templates.

@adam-enko adam-enko added the runner: gradle plugin v2 Issues fixed by Dokka Gradle Plugin v2 - see https://github.com/Kotlin/dokka/issues/3131 label Aug 28, 2024
@adam-enko adam-enko modified the milestones: Gradle runner 2.0, Dokka 2.0.0 Aug 28, 2024
@whyoleg
Copy link
Contributor

whyoleg commented Dec 16, 2024

Fixed in Dokka 2.0.0 in Dokka Gradle plugin v2 by providing type safe configuration with Gradle types for html plugin

@whyoleg whyoleg closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug runner: gradle plugin v2 Issues fixed by Dokka Gradle Plugin v2 - see https://github.com/Kotlin/dokka/issues/3131 runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin
Projects
None yet
Development

No branches or pull requests

6 participants