简体   繁体   中英

How to document private elements in scaladoc with scala-maven-plugin?

I'm trying to generate Scaladoc for my code with the scala-maven-plugin 3.0.2 (Scala Version 2.9.2). When I use

mvn scala:doc

then I don't get documentation for the private types and elements of my Scala code. I checked with the plugin documentation, but I can't find an option for that.

Strangely, the scaladoc plugin does generate documentation for the private elements of my Java code. But because it doesn't generate documentation for the HTML comments of the Java code, this is pretty useless.

Am I missing something?

Unfortunately, you haven't miss it. I had done similar research few weeks ago and also didn't find it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM