scala-newtype icon indicating copy to clipboard operation
scala-newtype copied to clipboard

Newtype ScalaDoc comment does not appear in generated HTML API documentation

Open alexcardell opened this issue 7 months ago • 0 comments

ScalaDoc comments on Newtypes don't appear in the generated output. The HTML lists it as type as with a normal type alias, but does not apply the documentation.

Example:

  /** Example type doc
   */
  type X1 = Int

  /** Example newtype doc won't appear
   */
  @newtype case class X2(int: Int)

Output:

image

alexcardell avatar Jul 24 '24 14:07 alexcardell