Skip to content

Commit

Permalink
docs: build new api docs (langchain-ai#26951)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Oct 1, 2024
1 parent 95a8729 commit f758319
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
6 changes: 3 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ vercel-build: install-vercel-deps build generate-references
mv $(OUTPUT_NEW_DOCS_DIR) docs
rm -rf build
mkdir static/api_reference
git clone --depth=1 https://github.com/baskaryan/langchain-api-docs-build.git
mv langchain-api-docs-build/api_reference_build/html/* static/api_reference/
rm -rf langchain-api-docs-build
git clone --depth=1 https://github.com/langchain-ai/langchain-api-docs-html.git
mv langchain-api-docs-html/api_reference_build/html/* static/api_reference/
rm -rf langchain-api-docs-html
NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build

start:
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
"gen": "yarn gen:supabase",
"gen:supabase": "npx supabase gen types typescript --project-id 'xsqpnijvmbodcxyapnyq' --schema public > ./src/supabase.d.ts",
"check-broken-links": "bash vercel_build.sh && node ./scripts/check-broken-links.js"
"check-broken-links": "make vercel-build && node ./scripts/check-broken-links.js"
},
"dependencies": {
"@docusaurus/core": "3.5.2",
Expand Down
17 changes: 0 additions & 17 deletions docs/vercel_build.sh

This file was deleted.

0 comments on commit f758319

Please sign in to comment.