I know you can use scaladoc itself to generate hierarchy diagrams but how do I use play doc
to do that?
Asked
Active
Viewed 510 times
1
1 Answers
0
You can add following line to the build.sbt
to have diagrams generated by the way of doc
task.
scalacOptions in Compile in doc += "-diagrams"
If you'd like, you can pass arbitrary parameters, like for example
scalacOptions in Compile in doc ++= Seq("-diagrams", "-diagrams-max-classes", "30")
PS. Make sure that you have the dot
program installed.

lpiepiora
- 13,659
- 1
- 35
- 47