-
Notifications
You must be signed in to change notification settings - Fork 710
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
@category appears under function type aliases (only) with typedoc 0.22.6 #1745
Comments
Ah, yep, this is a problem, easy fix at least |
Fixed in abc6263 |
Hmm. I'm now trying it with 0.22.7 and the issue persists. |
Yep... I'm seeing that too now, weird. |
This bug wins the prize for being the thing I've accidentally broken the most in the past 6 months, then run the tests, noticed, fixed, and broken literally the next time I touched the category code. Sheesh! |
EDIT: I misread the title of this issue, do you want me to make a bug report out of this, or is it working as intended? @Gerrit0 I think it's back again in 0.24.8 (and maybe before?). Here is my test-case:
The description is not shown as part of the type (like would happen for the simple |
That would be a duplicate of #2372, but please open a new issue in general. I don't like pinging people for very old resolved issues |
Search terms
Function type aliases, comment tags, category.
Expected Behavior
@category
tag behavior is consistent across different entities. In particular, it's visibility in the documentation is governed by the same rule.Prior to 0.22.6 it was properly used to categorize documentation entities and was not shown under any of them and that makes total sense for me.
Actual Behavior
Version 0.22.6 still uses it to categorize documentation entities, but also started to include it under function type aliases specifically (other type aliases and functions are unaffected by the change and no
@category
tag is shown for them).Apparently this is caused by #1734 and 0d04c08
I see no sense to clutter the docs with this specific tag since it is used for grouping already.
If there is a good reason to show it then there should be clean rules and a way to override them.
Current behavior is very surprising.
Steps to reproduce the bug
Version 0.22.6 (0.22.5 is fine)
Code like this:
Typedoc options:
Environment
The text was updated successfully, but these errors were encountered: