Skip to content

The agent engineering platform.

Add dev guide to docs(#12291)

Bagaturab3c124ffb8d
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index f70fd17746..0940d61bc7 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -77,7 +77,7 @@ tell Poetry to use the virtualenv python environment (`poetry config virtualenvs
There are two separate projects in this repository:
- `langchain`: core langchain code, abstractions, and use cases
-- `langchain.experimental`: see the [Experimental README](../libs/experimental/README.md) for more information.
+- `langchain.experimental`: see the [Experimental README](https://github.com/langchain-ai/langchain/tree/master/libs/experimental/README.md) for more information.
Each of these has its own development environment. Docs are run from the top-level makefile, but development
is split across separate test & release flows.
@@ -129,7 +129,7 @@ To run unit tests in Docker:
make docker_tests
```
-There are also [integration tests and code-coverage](../libs/langchain/tests/README.md) available.
+There are also [integration tests and code-coverage](https://github.com/langchain-ai/langchain/tree/master/libs/langchain/tests/README.md) available.
### Formatting and Linting
diff --git a/docs/.local_build.sh b/docs/.local_build.sh
index 0d74b4fa8e..8d8c0ffe84 100755
--- a/docs/.local_build.sh
+++ b/docs/.local_build.sh
@@ -14,6 +14,7 @@ cd ../_dist
poetry run python scripts/model_feat_table.py
poetry run nbdoc_build --srcdir docs
cp ../cookbook/README.md src/pages/cookbook.mdx
+cp ../.github/CONTRIBUTING.md docs/contributing.md
poetry run python scripts/generate_api_reference_links.py
yarn install
yarn start
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index fa97988ce8..ff0cfe102a 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -173,6 +173,10 @@ const config = {
to: "/docs/community",
label: "Community",
},
+ {
+ to: "/docs/contributing",
+ label: "Developer's guide",
+ },
{
to: "/docs/additional_resources/dependents",
label: "Dependents",
diff --git a/docs/vercel_build.sh b/docs/vercel_build.sh
index f228fc1739..16ae619ac5 100755
--- a/docs/vercel_build.sh
+++ b/docs/vercel_build.sh
@@ -49,4 +49,5 @@ python3.11 -m pip install -r vercel_requirements.txt
python3.11 scripts/model_feat_table.py
nbdoc_build --srcdir docs
cp ../cookbook/README.md src/pages/cookbook.mdx
+cp ../.github/CONTRIBUTING.md docs/contributing.md
python3.11 scripts/generate_api_reference_links.py