Closed
Description
Compiler version
3.0.0-M4-bin-20210212-0273336-NIGHTLY
Minimized code
package foo
final val foo = "Foo"
object A:
/**
* @param i An argument
*/
def x(i:Int)=3
Then run doc
from sbt 1.5.0-M2.
Output
It creates target/scala-3.0.0-M4/api/api
directory.
For example target/scala-3.0.0-M4/api/api/foo/A$.html
.
Expectation
I expect HTML files to be under target/scala-3.0.0-M4/api/
directory. Note that the term api
is set by sbt as Compile/doc/target
.
See the output of Scala 2.x's output - https://scopt.github.io/scopt/4.0.0/api/index.html
Directly under api/
it would create directory names corresponding to the package like scopt
, and https://scopt.github.io/scopt/4.0.0/api/scopt/index.html would list the classes under scopt
package.