This is a duplicate of Generate scaladoc for root package, however the Answer does not state where sbt doc
looks for the rootdoc.txt
.
I added
scalacOptions in doc ++= Seq("-doc-root-content", "rootdoc.txt")
to my build.sbt
, but sbt doc
does not seem to scan it. I tried to put it next to the build.sbt
, in src
, src/main
, src/main/scala
I am using sbt 0.12.3