How to set output directory of ScalaDoc in SBT 0.13

35 views
Skip to first unread message

Brian Hsu

unread,
Apr 3, 2014, 3:09:16 AM4/3/14
to simple-b...@googlegroups.com
It seems docDirectory in Compile is deprecated u in SBT 0.13.x.

So I'm wondering how to set scaladoc output directory in SBT 0.13.x, I would like the output file is located at 'api/' folder under my project folder. For example, if I have a SBT project under /home/brianhsu/MyProject, I would like the documentation go to /home/brianhsu/MyProject/api.

I have tried the following option in my build.sbt file

    scalacOptions in (Compile, doc) ++= Seq("-d", "api")
 
But it has no effects, the API documentation is still generate to MyProject/target/scala-2.10/api, not MyProject/api

Reply all
Reply to author
Forward
0 new messages