开发者

Improve sbt doc generation

开发者 https://www.devze.com 2023-01-16 17:54 出处:网络
When I run sbt doc, it results in a nice but nonetheless pretty basic documentation. Is it possible to

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消