https://kotlinlang.org logo
Title
r

rocketraman

05/10/2019, 3:25 PM
I have a file with 20 or 30 functions that are all pretty similar, and wanted to document all of them at the file level. Adding a KDoc section at the top of the file seems to document the first function only.
g

gildor

05/14/2019, 6:33 AM
as I remember you actually can reference another KDoc, even from a separate file
r

rocketraman

05/14/2019, 5:02 PM
Are you suggesting adding a reference on every function KDoc to the first function's KDoc? This is exactly what I'm trying to avoid. Basically I want to add KDoc at the file level -- I don't actually care about documenting each function.