Skip to content

Commit

Permalink
airbyte-lib: Fix docs generation (#34474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Jan 26, 2024
1 parent 3f2ede5 commit 3feb04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-lib/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def run() -> None:
# All folders in `airbyte_lib` that don't start with "_" are treated as public modules.
for d in os.listdir("airbyte_lib"):
dir_path = pathlib.Path(f"airbyte_lib/{d}")
if dir_path.is_dir() and not d.startswith("_"):
if dir_path.is_dir() and not d.startswith("_") and (dir_path / "__init__.py").exists():
public_modules.append(dir_path)

pdoc.render.configure(template_directory="docs", show_source=False, search=False)
Expand Down

0 comments on commit 3feb04c

Please sign in to comment.