Skip to content

Commit b93d565

Browse files
committed
builder
1 parent 29b0008 commit b93d565

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

subdirectories/scripts/build_cookbook.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,5 +415,7 @@ def replace_md_ipynb_links(match):
415415
if __name__ == "__main__":
416416
cookbook_directory = Path(__file__).parents[1] / "langsmith-cookbook"
417417
convert_notebooks_to_markdown(cookbook_directory)
418-
docs_directory = Path(__file__).parents[2] / "docs"
418+
# NOTE: the cookbooks directory is only used in version 1.0 of docs and should thus
419+
# only build into this directory
420+
docs_directory = Path(__file__).parents[2] / "versioned_docs" / "version-1.0"
419421
move_to_docs(cookbook_directory, docs_directory)

0 commit comments

Comments
 (0)