mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-02 18:57:20 +00:00
Update local script for docs build (#8377)
This commit is contained in:
@@ -59,6 +59,7 @@ def main():
|
||||
global_imports[class_name][doc_title] = doc_url
|
||||
|
||||
# Write the global imports information to a JSON file
|
||||
_JSON_PATH.parent.mkdir(parents=True, exist_ok=True)
|
||||
with _JSON_PATH.open("w") as f:
|
||||
json.dump(global_imports, f)
|
||||
|
||||
|
Reference in New Issue
Block a user