What's responsible for generating the sidebars on ...
# dokka
e
What's responsible for generating the sidebars on pages such as Hexagon and Ktor? I'm trying to apply Dokkatoo to my project but not getting any sidebar 😞
a
are you opening the HTML file directly, or via a HTTP server (e.g. https://www.jetbrains.com/help/idea/php-built-in-web-server.html)? https://github.com/Kotlin/dokka/issues/2964 Or is it a problem on mobile? https://github.com/Kotlin/dokka/issues/2965
e
sorry, yeah I opened the file directly 🙂 After opening it through intelliJ it rendered correctly (and now published to ks3.io it also looks good)
🚀 1
👍 1
OT.. do you know if there's currently any way to pass configuration to the
all-modules-page
plugin through dokkatoo? Basically I want to use an includes to add some docs on the root index.html
a
do you want to pass the
includes
?
something like this should work
Copy code
dokkatoo {
  dokkatooPublications.named("main") {
    includes.from("my/custom/file.txt")
  }

  dokkatooPublications.configureEach {
    includes.from("my/custom/file.txt")
  }
}
e
Tyvm, I’ll try that :)
a
no problem, let me know how it goes :)
e
worked 💯 planning to add the usual getting started info on the root page 🙂
a
nice!