mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-18 21:09:00 +00:00
docs[patch]: local docs build <5s (#14096)
This commit is contained in:
parent
80ed588733
commit
b161f302ff
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user