If I understand correctly, the Scaladoc method should automatically inherit the Scaladoc of the parent method, which it overrides. This seems to be true for a local set of classes, but not when extended from the Scala standard library (and, presumably, any external dependency?).
class LocalParent { def foo = ??? } class DocumentedChild extends LocalParent class UndocumentedChild extends Iterator[Int] { def hasNext = ??? def next = ??? }
Is there a way to inherit Scaladoc? Or am I doing something wrong?
In addition, I use sbt doc , not scaladoc .
inheritance scala documentation sbt
Mark canlas
source share