## Compiler version 3.1.1 ## Minimized code ```scala object stuff: /** @group foo */ def foo = 10 /** @group bar */ def bar = 20 ``` In `build.sbt`: ```scala Compile / doc / scalacOptions ++= List("-groups") ``` As specified at https://dotty.epfl.ch/docs/usage/scaladoc/docstrings.html#member-grouping-tags ## Output <img width="378" alt="cleanshot_2022-02-18_at_16 31 12_2x" src="https://user-images.githubusercontent.com/2614813/154719456-d4baab1e-cab2-4721-8b35-3b7361cbf76c.png"> ## Expectation I expect the elements to be grouped to `foo` and `bar` categories. ## Workaround Put the following in `build.sbt`: ```scala Compile / doc / scalacOptions ++= List("-groups", "-comment-syntax", "wiki") ```