We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7f0b38 commit ff3d2ddCopy full SHA for ff3d2dd
doc/make.py
@@ -135,6 +135,12 @@ def _process_single_doc(self, single_doc):
135
try:
136
obj = pandas # noqa: F821
137
for name in single_doc.split('.'):
138
+ try:
139
+ # for names not in the top-level namespace by default,
140
+ # e.g. pandas.io.formats.style.Styler
141
+ importlib.import_module('.'.join([obj.__name__, name]))
142
+ except ModuleNotFoundError:
143
+ pass
144
obj = getattr(obj, name)
145
except AttributeError:
146
raise ValueError('Single document not understood, it should '
0 commit comments