File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 31
31
DocumenterBridge
32
32
)
33
33
34
- from sphinx .ext .autodoc import get_documenters
35
-
36
34
try :
37
35
from sphinx .util .inspect import signature , stringify_signature
38
36
except ImportError :
@@ -199,7 +197,7 @@ def get_grouped_documenters(self, all_members=False):
199
197
200
198
# document non-skipped members
201
199
memberdocumenters = []
202
- registry = get_documenters ( self .env .app )
200
+ registry = self .env .app . registry . documenters
203
201
204
202
for (mname , member , isattr ) in self .filter_members (members , want_all ):
205
203
classes = [cls for cls in registry .values ()
@@ -604,7 +602,7 @@ def setup(app):
604
602
if option not in AUTODOC_DEFAULT_OPTIONS ])
605
603
606
604
# make sure to allow inheritance when registering new documenters
607
- registry = get_documenters ( app )
605
+ registry = app . registry . documenters
608
606
for cls in [AutoSummClassDocumenter , AutoSummModuleDocumenter ,
609
607
CallableAttributeDocumenter , NoDataDataDocumenter ,
610
608
NoDataAttributeDocumenter ]:
You can’t perform that action at this time.
0 commit comments