Skip to content

The agent engineering platform.

add cookbook table (#12043)

Bagatur8cabb4ee8e7e
diff --git a/docs/.local_build.sh b/docs/.local_build.sh
index bb84f2c58b..0d74b4fa8e 100755
--- a/docs/.local_build.sh
+++ b/docs/.local_build.sh
@@ -13,6 +13,7 @@ cp -r . ../_dist
cd ../_dist
poetry run python scripts/model_feat_table.py
poetry run nbdoc_build --srcdir docs
+cp ../cookbook/README.md src/pages/cookbook.mdx
poetry run python scripts/generate_api_reference_links.py
yarn install
yarn start
diff --git a/docs/src/pages/cookbook.mdx b/docs/src/pages/cookbook.mdx
deleted file mode 100644
index 14d4e7c44f..0000000000
--- a/docs/src/pages/cookbook.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: Cookbook
-hide_table_of_contents: true
----
-
-# Cookbook
-
-The page you're looking for has been moved to the [cookbook section of the repo](https://github.com/langchain-ai/langchain/tree/master/cookbook) as a notebook.
\ No newline at end of file
diff --git a/docs/vercel_build.sh b/docs/vercel_build.sh
index 5200772c6a..f228fc1739 100755
--- a/docs/vercel_build.sh
+++ b/docs/vercel_build.sh
@@ -48,4 +48,5 @@ python3.11 -m pip install --upgrade pip
python3.11 -m pip install -r vercel_requirements.txt
python3.11 scripts/model_feat_table.py
nbdoc_build --srcdir docs
+cp ../cookbook/README.md src/pages/cookbook.mdx
python3.11 scripts/generate_api_reference_links.py