When I run sbt doc
, it results in a nice but nonetheless pretty basic documentation. Is it possible to
a) include the source files for the class definition and
b) inherit the docstrings for inherited members?
What do I need to add to my project definition?
(It’s a Lift project, so most important would be to h开发者_如何学Cave the inherited Lift docstrings present.)
a) Scala X-Ray (sxr) will give you source code as documentation. It's a compiler plugin and it is most excellent. That link includes a link to the sxr+sbt setup.
b) I am sorry. I can't help with this one.
精彩评论