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

Sorting sections in the summary #90

Closed
funkyfuture opened this issue Dec 28, 2023 · 5 comments
Closed

Sorting sections in the summary #90

funkyfuture opened this issue Dec 28, 2023 · 5 comments

Comments

@funkyfuture
Copy link
Contributor

hello there, i may be over-using this extension by returning other names than "Members" and "Attributes" from a autodocsumm-grouper handler. the order of sections within a summary is then determined by the one in which the members were evaluated. would you be interested to include an option for sorting these sections? i suppose the most flexible would be to accept either None (default) for no sorting or a callable that is then used for the key-parameter of the sorting.

@Chilipp
Copy link
Owner

Chilipp commented Dec 28, 2023

hey @funkyfuture! sounds good to me! would you be able to submit a PR?

@funkyfuture funkyfuture changed the title Sorting sections in the table Sorting sections in the summary Dec 28, 2023
@funkyfuture
Copy link
Contributor Author

given your quick reply, i'll do that after dinner.

@Chilipp
Copy link
Owner

Chilipp commented Dec 28, 2023

awsome, thanks 😃

@funkyfuture
Copy link
Contributor Author

solved in #93.

@Chilipp
Copy link
Owner

Chilipp commented Jan 5, 2024

thanks again @funkyfuture! I just made a new release (0.2.12) that implements the new config value from #93

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

No branches or pull requests

2 participants