Hi there! I'm using Dokka for my kotlin documentat...
# dokka
m
Hi there! I'm using Dokka for my kotlin documentation, along with a sort of "readme" in a
module.md
file. I know that the module documentation supports markdown, but is there any way to add a table of contents that anyone has had any success with? Seems like I've tried everything and can't get anything to work.
i
Perhaps
knit
can help you with this? It can do all sorts of things. For usage examples, have a look at coroutines and serialization libraries https://github.com/Kotlin/kotlinx-knit
m
thanks @Ignat Beresnev, I'll take a look!
Hey @Ignat Beresnev, so knit seems to generate a table of contents no problem, but then running
dokkaHtml
doesn't seem to recognize the table of contents when generating the module documentation. I'll attach some screenshots:
the latter was generated by Knit after i added the TOC and END lines