Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Better Scaladoc format for structured comments #273

@ckipp01

Description

@ckipp01

So this might be a tricky one, but it'd be great to retain the structure of a comment in the Scaladocs. A good example of this can be found if you look at the comment at the top of TastyFormat https://github.com/lampepfl/dotty/blob/master/tasty/src/dotty/tools/tasty/TastyFormat.scala#L3-L263. There is a ton of great info in here, and I just checked out the Scaladocs hoping to read through it and all of the structure is obliterated.

https://scala-lang.org/api/3.x/dotty/tools/tasty/TastyFormat$.html

EDIT: Actually I think this is mainly due to the comment type. If it was done similar to https://scala-lang.org/api/3.x/scala/quoted/Quotes$reflectModule.html and put in a different style of comment to match that it'd appear much better. I'll just change this instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions