File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1111This extension gives also the possibility to choose which data shall be shown
1212and to include the docstring of the ``'__call__'`` attribute.
1313"""
14+ import logging
1415import re
1516import six
1617import sphinx
5758
5859sphinx_version = list (map (float , re .findall (r'\d+' , sphinx .__version__ )[:3 ]))
5960
61+ logger = logging .getLogger (__name__ )
62+
6063
6164class AutosummaryDocumenter (object ):
6265 """Abstract class for for extending Documenter methods
@@ -114,7 +117,7 @@ def get_grouped_documenters(self, all_members=False):
114117 # be cached anyway)
115118 self .analyzer .find_attr_docs ()
116119 except PycodeError as err :
117- self . env . app .debug ('[autodoc] module analyzer failed: %s' , err )
120+ logger .debug ('[autodoc] module analyzer failed: %s' , err )
118121 # no source file -- e.g. for builtin and C modules
119122 self .analyzer = None
120123 # at least add the module.__file__ as a dependency
You can’t perform that action at this time.
0 commit comments