playframework - Generate javadoc of a project using Play framework 2.3 -
i have java application using play framework 2.3.8.
i have read old commands such play doc
.
after running activator doc
, jar named ***-1.0-snapshot-javadoc.jar
in target\scala-2.11
directory. empty.
could point out how generate html javadoc automatically?
base on @turutosiya answer, below have done.
scaladoc
generate command activator doc
. however, if javadoc
, please add sources in (compile, doc) ~= (_ filter (_.getname endswith ".java"))
in build.sbt
. force sbt
generate javadoc
style api documentation.
however, me want javadoc
not want in zip package generated activator dist
. add following line distribution script.
zip --delete target/universal/*.zip application_name-\*/share/\*
hope helps.
after typing activator doc
or sbt doc
, can find documents under :
target/scala-2.11/api
Comments
Post a Comment