mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
19 lines
370 B
Bash
Executable File
19 lines
370 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/docs_skeleton
|
|
cp -r {docs_skeleton,snippets} _dist
|
|
cp -r extras/* _dist/docs_skeleton/docs
|
|
cd _dist/docs_skeleton
|
|
poetry run nbdoc_build
|
|
poetry run python generate_api_reference_links.py
|
|
yarn install
|
|
yarn start
|