If I understand correctly, the Scaladoc of a method should automatically inherit the Scaladoc of the parent method it overrides. This seems to hold true for a local set of classes, but not when extending from Scala's standard library (and presumably any external dependency?).
class LocalParent {
/**
* some documentation
*/
def foo = ???
}
class DocumentedChild extends LocalParent
class UndocumentedChild extends Iterator[Int] {
def hasNext = ???
def next = ???
}
Is there a way to inherit the Scaladoc? Or am I doing something wrong?
Also, I'm using sbt doc
, so not scaladoc
directly.