Releasing <Mermaid Html plugin> 0.3.2 to get the l...
# dokka
g
Releasing Mermaid Html plugin 0.3.2 to get the latest 9.1.2 Mermaid.js features &amp; bugfixes. Also announcing a new toy: generating your classes diagrams via KSP directly to your Dokka documentation! It's fancy to quickly visualize what your modules or packages contains, see the relationships between classes/interfaces/enums, and allow navigation directly from the graph. You can have a look at the live demo here Please tell me what you think!
❤️ 6
👍 8
i
Very cool! Do you create .md files with structure using KSP and then use mermaid plugin for rendering it? Or how does it work? (Still remember about the extension point, I'll definitely do it by the next release ;))
g
Ksp generates markdown files from source code. I have split mermaid generation and markdown generation, I plan to make a lot of settings available for customization and reusability (could support other integration than Dokka). The markdown follow the module/package declaration style from Dokka (also it could be great to have the same on class directly). It then requires a bit of gradle to take all the generated files and add it to Dokka.
I made a first attempt to build a gradle plugin and automatize the setup, but for now I'm failing 😅