Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道您可以使用scaladoc 本身来生成层次结构图,但我该如何使用play doc它呢?
play doc
您可以添加以下行以通过任务build.sbt方式生成图表。doc
build.sbt
doc
scalacOptions in Compile in doc += "-diagrams"
如果您愿意,您可以传递任意参数,例如
scalacOptions in Compile in doc ++= Seq("-diagrams", "-diagrams-max-classes", "30")
PS。确保您已dot安装该程序。
dot