Skip to content

Docs should not show annotations by default #15196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
odersky opened this issue May 16, 2022 · 2 comments
Closed

Docs should not show annotations by default #15196

odersky opened this issue May 16, 2022 · 2 comments

Comments

@odersky
Copy link
Contributor

odersky commented May 16, 2022

Compiler version

3.2

Minimized example

What I see at https://dotty.epfl.ch/api/scala/collection/immutable/List$.html:

[@SerialVersionUID](https://dotty.epfl.ch/api/scala/SerialVersionUID.html)(3L)
object List extends StrictOptimizedSeqFactory]

Expectation

The annotation should not be printed. The same should go by default for most other annotations. Maybe we want to show some of the annotations (but which ones?). But then they should be shown in a separate section.

@odersky odersky added the stat:needs triage Every issue needs to have an "area" and "itype" label label May 16, 2022
@Kordyjan Kordyjan added itype:enhancement area:doctool and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels May 16, 2022
@odersky
Copy link
Contributor Author

odersky commented Jun 13, 2022

@pikinier20 I believe this is now fixed? If yes, please close the issue.

@SethTisue
Copy link
Member

PR: #15361

@odersky odersky closed this as completed Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants