Anyone else had trouble getting `customStyleSheets...
# dokka
a
Anyone else had trouble getting
customStyleSheets
to be applied to all child projects/docs in a multimodule setup? It works for the "root"
index.html
but all subsequent pages are missing the custom style sheet
m
Could you paste your configuration? I think that the reason might be that child tasks are missing customStyleSheets configured
a
Copy code
allprojects {
    tasks.withType<org.jetbrains.dokka.gradle.AbstractDokkaTask>().configureEach {
        pluginsMapConfiguration.put("org.jetbrains.dokka.base.DokkaBase", """
            {
                "customStyleSheets": ["${rootProject.file("docs/custom.css")}"],
            }
        """)

    }
}
I've tried a few variations. I think replacing
logo-styles.css
(or any of the other default sheets) is a viable workaround