AJ Alt
09/11/2020, 12:49 AMdokkaHtml
task create index.html at the top level rather than nested in a project folder? It's not clear how to publish the output as a static site (e.g. github pages) without having the root 404.msink
09/11/2020, 10:03 AMtasks.register<Copy>("githubPages") {
dependsOn(tasks.named("dokkaHtml"))
from(project.buildDir.resolve("dokka/html/yourmodule"))
into(rootProject.rootDir)
}
and call "./gradlew githubPages" instead of "./gradlew dokkaHtml"msink
09/11/2020, 10:49 AMAJ Alt
09/11/2020, 2:49 PMdokka/html/module
reference css and other files in dokka/html
, so copying the module
contents somewhere else breaks the pages.msink
09/11/2020, 3:05 PMwould relocate documentation either by changing the PageNode structure or the LocationProvider itself.
IMHO adding a toplevel index.html page with url redirect should be sufficient for most use cases (only for the HTML format of course