mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
2a11a30572
![Screenshot 2024-04-22 at 1 51 13 PM](https://github.com/langchain-ai/langchain/assets/22008038/b8b09fec-3800-4b97-bd26-5571b8308f4a)
28 lines
823 B
Bash
Executable File
28 lines
823 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
set -o xtrace
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd)"
|
|
cd "${SCRIPT_DIR}"
|
|
|
|
mkdir -p ../_dist
|
|
rsync -ruv --exclude node_modules --exclude api_reference --exclude .venv --exclude .docusaurus . ../_dist
|
|
cd ../_dist
|
|
poetry run python scripts/model_feat_table.py
|
|
cp ../cookbook/README.md src/pages/cookbook.mdx
|
|
mkdir -p docs/templates
|
|
cp ../templates/docs/INDEX.md docs/templates/index.md
|
|
poetry run python scripts/copy_templates.py
|
|
wget -q https://raw.githubusercontent.com/langchain-ai/langserve/main/README.md -O docs/langserve.md
|
|
wget -q https://raw.githubusercontent.com/langchain-ai/langgraph/main/README.md -O docs/langgraph.md
|
|
|
|
|
|
poetry run quarto render docs
|
|
poetry run python scripts/generate_api_reference_links.py --docs_dir docs
|
|
|
|
yarn
|
|
yarn start
|