Skip to content

Commit

Permalink
docs[patch]: local docs build <5s (#14096)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Dec 1, 2023
1 parent 80ed588 commit b161f30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/.local_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd)"
cd "${SCRIPT_DIR}"

mkdir -p ../_dist
cp -r . ../_dist
rsync -ruv . ../_dist
cd ../_dist
poetry run python scripts/model_feat_table.py
poetry run nbdoc_build --srcdir docs
poetry run nbdoc_build --srcdir docs --pause 0
cp ../cookbook/README.md src/pages/cookbook.mdx
cp ../.github/CONTRIBUTING.md docs/contributing.md
wget https://raw.githubusercontent.com/langchain-ai/langserve/main/README.md -O docs/langserve.md
Expand Down
2 changes: 1 addition & 1 deletion docs/vercel_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ python3.11 scripts/copy_templates.py
cp ../cookbook/README.md src/pages/cookbook.mdx
cp ../.github/CONTRIBUTING.md docs/contributing.md
wget https://raw.githubusercontent.com/langchain-ai/langserve/main/README.md -O docs/langserve.md
nbdoc_build --srcdir docs
nbdoc_build --srcdir docs --pause 0
python3.11 scripts/generate_api_reference_links.py

0 comments on commit b161f30

Please sign in to comment.