We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148237b commit ba65fdcCopy full SHA for ba65fdc
pdoc/__init__.py
@@ -583,8 +583,10 @@ def iter_modules(paths):
583
for file in os.listdir(pth):
584
if file.startswith(('.', '__pycache__', '__init__.py')):
585
continue
586
- if file.endswith(_SOURCE_SUFFIXES) or isdir(join(pth, file)):
+ if file.endswith(_SOURCE_SUFFIXES):
587
yield splitext(file)[0]
588
+ if isdir(join(pth, file)) and '.' not in file:
589
+ yield file
590
591
for root in iter_modules(self.obj.__path__):
592
# Ignore if this module was already doc'd.
0 commit comments