Skip to content
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

@group descriptions #2494

Closed
paularmstrong opened this issue Feb 2, 2024 · 3 comments
Closed

@group descriptions #2494

paularmstrong opened this issue Feb 2, 2024 · 3 comments
Labels
enhancement Improved functionality

Comments

@paularmstrong
Copy link

Search Terms

@group, @category

Problem

When using @group a heading is generated, but there's no way to provide more context for the grouping. Just a heading doesn't give much to go on as to what the heading means.

Suggested Solution

Ideally, a block comment that is unrelated to any export could include the @group tag and any summary information would be included in the output.

/**
 * @group Title… 
 * Summary
 */
@paularmstrong paularmstrong added the enhancement Improved functionality label Feb 2, 2024
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Feb 4, 2024

unrelated to any export

Really don't like that. The rules for what comments are used are already too complicated. I'd rather require that this be put on the group-containing reflection, and use a different tag like @groupDescription, should also support it for @categoryDescription

Seems like a useful feature 👍

@paularmstrong
Copy link
Author

@groupDescription sounds good to me. I don't have any strong preferences other than I would really like to provide more context in the generated documentation 😄

@Gerrit0 Gerrit0 closed this as completed in d26f76f Feb 9, 2024
@paularmstrong
Copy link
Author

Thank you @Gerrit0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved functionality
Projects
None yet
Development

No branches or pull requests

2 participants