mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-19 05:13:46 +00:00
infra: fix api docs build (#28264)
This commit is contained in:
parent
56499cf58b
commit
69a706adff
4
.github/scripts/prep_api_docs_build.py
vendored
4
.github/scripts/prep_api_docs_build.py
vendored
@ -11,9 +11,7 @@ from typing import Dict, Any
|
|||||||
def load_packages_yaml() -> Dict[str, Any]:
|
def load_packages_yaml() -> Dict[str, Any]:
|
||||||
"""Load and parse the packages.yml file."""
|
"""Load and parse the packages.yml file."""
|
||||||
with open("langchain/libs/packages.yml", "r") as f:
|
with open("langchain/libs/packages.yml", "r") as f:
|
||||||
all_packages = yaml.safe_load(f)
|
return yaml.safe_load(f)
|
||||||
|
|
||||||
return {k: v for k, v in all_packages.items() if k["repo"]}
|
|
||||||
|
|
||||||
|
|
||||||
def get_target_dir(package_name: str) -> Path:
|
def get_target_dir(package_name: str) -> Path:
|
||||||
|
Loading…
Reference in New Issue
Block a user