Are samples not supposed to render inline within t...
# dokka
n
Are samples not supposed to render inline within the HTML for a class? I assumed they would do something similar to what I see in the IDE. But all I get in HTML is a section with the name of my sample function. What am I missing? In this case the sample is just an internal function declared within the class itself, which should just work from what I've read.
a
are you using Gradle? Have you configured the samples? (ctrl+f for samples in this page)
Copy code
samples.from(project.files(), "samples/Basic.kt", "samples/Advanced.kt")
n
I am using Gradle, and tried configuring the samples. This gave the same result. So I moved to placing the sample directly in the class itself to avoid any config mishap. Still the same result. The IDE finds the sample and displays inline, but it is not displayed in the HTML. I assumed this should just work.