-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
suggestion: always have the description come first in JSDocs for unstable symbols #25103
Comments
I'm not sure about this. It being moved to the end increases the chance of it being cut off in auto-complete. Also, when someone is going to use something, they should see right away that it's unstable. |
this is a bug with docs.deno.com postprocessing of typings, for which i have a local fix, which will land later this week |
To be clear, I suggest moving the unstable notice to the 2nd paragraph, not the last paragraph of the symbol's documentation. I think it's more important to the user to know what the symbol does, over its instability status.
Sorry, what exactly is a bug? Perhaps, we can have |
I don't agree with that. I think being unstable is the most important thing for someone to know. People rarely even read docs and I think it should be the first thing people see in capital letters in order to catch their eye. This is especially important given we no longer require |
Let's agree to disagree then 😛 Either way, perhaps the suggestion in my previous comment might satisfy both preferences. Maybe it could be an "unstable" button or similar next to the symbol name. |
A symbol being unstable is secondary compared to a description of what that symbol does. I suggest we move the description to be first, and any unstable notices second.
CC @thisisjofrank @crowlKats
The text was updated successfully, but these errors were encountered: