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

An option to sort sections #93

Merged
merged 7 commits into from
Jan 4, 2024
Merged

Conversation

funkyfuture
Copy link
Contributor

@funkyfuture funkyfuture commented Dec 28, 2023

this is a solution for the proposal in #90.

from a user perspective, i'd actually rather prefer to simply provide a True to achieve simple alphabetical sorting. shall i extend to this?

should i add an example where a dict with weights to define the order is used?

i also did some occasional modernization of code as one may consider it. are these changes okay?

@Chilipp
Copy link
Owner

Chilipp commented Dec 28, 2023

Awesome! Thanks 😃 I'll have a closer look tomorrow. But yes, I agree that a simple True option would be a good idea 👍

Copy link
Owner

@Chilipp Chilipp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @funkyfuture! thanks a lot for the input here! The changes look great! I only have two minor suggestions for the docs, but otherwise I am happy to merge this when you are done here and make a new release 👍

docs/conf_settings.rst Show resolved Hide resolved
docs/conf_settings.rst Show resolved Hide resolved
@Chilipp
Copy link
Owner

Chilipp commented Jan 4, 2024

please let me know @funkyfuture if there is anything else from your side or if I can merge this PR as it is

Co-authored-by: Philipp S. Sommer <philipp.sommer@hereon.de>
@funkyfuture
Copy link
Contributor Author

thanks for the feedback. i'm happy with the solution as it is.

Copy link
Owner

@Chilipp Chilipp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! 🥳

@Chilipp Chilipp merged commit f0ad505 into Chilipp:master Jan 4, 2024
37 checks passed
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

Successfully merging this pull request may close these issues.

2 participants