Chilipp / autodocsumm

Extending your autodoc API docs with a summary
Apache License 2.0
48 stars 14 forks source link

An option to sort sections #93

Closed funkyfuture closed 8 months ago

funkyfuture commented 8 months ago

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 commented 8 months ago

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

Chilipp commented 8 months ago

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

funkyfuture commented 8 months ago

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