For those interested in an example of how to use @...
# dokka
m
For those interested in an example of how to use @sample, I’ve published a repo that is similar to how the Kotlin language library does it. I haven’t determined how they convert the ‘test’ code into code with comments. I assume some form of post-processing, but at least this demonstrates how the @sample can be used to reference real code, and ensure the code compiles. Let me know if you have questions, or know of a better way to do it. https://gitlab.com/mikezx6r/dokka-demo
r
Nice 👍, I'll check it out later