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