Skip to content

Commit

Permalink
infra: fix api docs build (#28264)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Nov 21, 2024
1 parent 56499cf commit 69a706a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/prep_api_docs_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
def load_packages_yaml() -> Dict[str, Any]:
"""Load and parse the packages.yml file."""
with open("langchain/libs/packages.yml", "r") as f:
all_packages = yaml.safe_load(f)

return {k: v for k, v in all_packages.items() if k["repo"]}
return yaml.safe_load(f)


def get_target_dir(package_name: str) -> Path:
Expand Down

0 comments on commit 69a706a

Please sign in to comment.