Skip to content

Commit

Permalink
Merge pull request langchain-ai#2008 from jacoblee93/docs_refactor
Browse files Browse the repository at this point in the history
Docs refactor
  • Loading branch information
jacoblee93 authored Jul 19, 2023
2 parents c298010 + 62c5a72 commit 086278b
Show file tree
Hide file tree
Showing 500 changed files with 27,402 additions and 18,905 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ lib/
.eslintcache
.env
yarn-error.log
docs/_dist/

.yarn/*
!.yarn/patches
Expand Down
25 changes: 2 additions & 23 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader
docs/api

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# ESLint
.eslintcache
docs/
build/
17 changes: 17 additions & 0 deletions docs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/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}"

rm -rf _dist/
mkdir -p _dist/docs_skeleton
cp -r {docs_skeleton,snippets} _dist
cp -r extras/* _dist/docs_skeleton/docs
cd _dist/docs_skeleton
yarn install
yarn build
334 changes: 0 additions & 334 deletions docs/docs/getting-started/guide-chat.mdx

This file was deleted.

Loading

0 comments on commit 086278b

Please sign in to comment.