autodoc: fix ordering of class and static methods for groupwise order (#13201)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
Bénédikt TranandAdam Turner authored and GitHub committed 2025-01-20 15:19:05 +00:00
1 parent f4a802cce7
commit 5b9fb9e060
5 files changed
+69 -19

No files matched your search

+3 -1
View File
@@ -986,10 +986,12 @@ There are also config values that you can set:
* ``'alphabetical'``:
Use alphabetical order.
* ``'groupwise'``: order by member type. The order is:
* for modules, exceptions, classes, functions, data
* for classes: methods, then properties and attributes
* for classes: class methods, static methods, methods,
and properties/attributes
Members are ordered alphabetically within groups.