mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix #1008: fix autodoc documenter resolve ordering.
note: MethodDocumenter and FunctionDocumenter is same priority then Documenter.format_signature() choice documenter is not stable (depend on memory condition?).
This commit is contained in:
parent
d51b5d5118
commit
88e1bbe307
@ -1105,7 +1105,7 @@ class MethodDocumenter(DocstringSignatureMixin, ClassLevelDocumenter):
|
||||
"""
|
||||
objtype = 'method'
|
||||
member_order = 50
|
||||
priority = 0
|
||||
priority = 1
|
||||
|
||||
@classmethod
|
||||
def can_document_member(cls, member, membername, isattr, parent):
|
||||
|
Loading…
Reference in New Issue
Block a user