Skip to content

Doctool: Extra "api" directory under target #11412

Closed
@eed3si9n

Description

@eed3si9n

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions