It seems that your arguments are not given to scaladoc
at all. I cannot figure out why the command line arguments are not passed when scoping to doc
, but it works if you do not scope it to doc
but to Compile
:
scalacOptions in Compile ++= Seq("-doc-root-content", "rootdoc.txt")
With rootdoc.txt
at the root of your project.