Skip to content

Commit

Permalink
airbyte-lib: Fix docs generation (airbytehq#34474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter authored and jatinyadav-cc committed Feb 26, 2024
1 parent d7e03b7 commit b24f9bf
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 b24f9bf

Please sign in to comment.