From e54f3080935e0cdb385063bc8db678e619e95beb Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:10:37 -0800 Subject: [PATCH 01/24] include py api ref in main docs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 54d64b71..d0a13f49 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "docusaurus": "docusaurus", "test": "jest", "start": "rm -rf ./docs/api && docusaurus start", - "build": "rm -rf ./build && docusaurus build", + "build": "make vercel-build-docs", "vercel-build": "git submodule update --init --recursive && python3 -m ensurepip --default-pip && python3 -m pip install -r subdirectories/scripts/requirements.txt && python3 subdirectories/scripts/build_cookbook.py && ls docs && npm run build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", From d464194ea2288a0e4097f1e3e9a651a5086c6ff1 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:10:48 -0800 Subject: [PATCH 02/24] add --- MAKEFILE | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 MAKEFILE diff --git a/MAKEFILE b/MAKEFILE new file mode 100644 index 00000000..c06d9765 --- /dev/null +++ b/MAKEFILE @@ -0,0 +1,25 @@ +install-vercel-deps: + yum -y update + yum install gcc bzip2-devel libffi-devel zlib-devel wget tar gzip rsync -y + +PYTHON = .venv/bin/python + +build-api-ref: + git clone -b bagatur/update_py_api_ref --depth=1 https://github.com/langchain-ai/langsmith-sdk.git + cd langsmith-sdk/python + python3 -m venv .venv + source .venv/bin/activate + $(PYTHON) -m pip install --upgrade pip + $(PYTHON) -m pip install --upgrade uv + $(PYTHON) -m uv pip install -r docs/requirements.txt + $(PYTHON) docs/create_api_rst.py + cd docs && make html + $(PYTHON) docs/scripts/custom_formatter.py docs/_build/html/ + cp docs/_build/html/{reference,index}.html + + +vercel-build: install-vercel-deps build-api-ref + mkdir static/api_reference + mv langsmith-sdk/python/docs/_build/html/* static/api_reference/ + rm -rf langsmith-sdk + NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build From a472d3ebab7d3844defb4bf6f4bc4fa489112130 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:12:28 -0800 Subject: [PATCH 03/24] fix --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d0a13f49..744e6256 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "docusaurus": "docusaurus", "test": "jest", "start": "rm -rf ./docs/api && docusaurus start", - "build": "make vercel-build-docs", - "vercel-build": "git submodule update --init --recursive && python3 -m ensurepip --default-pip && python3 -m pip install -r subdirectories/scripts/requirements.txt && python3 subdirectories/scripts/build_cookbook.py && ls docs && npm run build", + "build": "make vercel-build", + "vercel-build": "make vercel-build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", From 4d319e04095c62883f4566840a63b2cea301daad Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:19:57 -0800 Subject: [PATCH 04/24] x --- docs/evaluation/how_to_guides/annotate_traces_inline.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/evaluation/how_to_guides/annotate_traces_inline.mdx b/docs/evaluation/how_to_guides/annotate_traces_inline.mdx index 8973c100..81cd85f0 100644 --- a/docs/evaluation/how_to_guides/annotate_traces_inline.mdx +++ b/docs/evaluation/how_to_guides/annotate_traces_inline.mdx @@ -25,3 +25,4 @@ You can also set up new feedback criteria from within the pane itself. ![](./static/annotation_sidebar.png) You can use the labeled keyboard shortcuts to streamline the annotation process. + From 73096707be0beb8d4803666fba51e1324471b28e Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:20:04 -0800 Subject: [PATCH 05/24] x --- docs/evaluation/how_to_guides/annotate_traces_inline.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/evaluation/how_to_guides/annotate_traces_inline.mdx b/docs/evaluation/how_to_guides/annotate_traces_inline.mdx index 81cd85f0..8973c100 100644 --- a/docs/evaluation/how_to_guides/annotate_traces_inline.mdx +++ b/docs/evaluation/how_to_guides/annotate_traces_inline.mdx @@ -25,4 +25,3 @@ You can also set up new feedback criteria from within the pane itself. ![](./static/annotation_sidebar.png) You can use the labeled keyboard shortcuts to streamline the annotation process. - From 91a99ce1b4ed605d3666fc848d34789817a78b6b Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:40:00 -0800 Subject: [PATCH 06/24] debug --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 744e6256..2eb6fdf6 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test": "jest", "start": "rm -rf ./docs/api && docusaurus start", "build": "make vercel-build", - "vercel-build": "make vercel-build", + "vercel-build": "ls .; cat Makefile; make vercel-build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", From ca7bbec53d5d0de53ed2840308fbc653384f5652 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:41:37 -0800 Subject: [PATCH 07/24] mv --- MAKEFILE | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 MAKEFILE diff --git a/MAKEFILE b/MAKEFILE deleted file mode 100644 index c06d9765..00000000 --- a/MAKEFILE +++ /dev/null @@ -1,25 +0,0 @@ -install-vercel-deps: - yum -y update - yum install gcc bzip2-devel libffi-devel zlib-devel wget tar gzip rsync -y - -PYTHON = .venv/bin/python - -build-api-ref: - git clone -b bagatur/update_py_api_ref --depth=1 https://github.com/langchain-ai/langsmith-sdk.git - cd langsmith-sdk/python - python3 -m venv .venv - source .venv/bin/activate - $(PYTHON) -m pip install --upgrade pip - $(PYTHON) -m pip install --upgrade uv - $(PYTHON) -m uv pip install -r docs/requirements.txt - $(PYTHON) docs/create_api_rst.py - cd docs && make html - $(PYTHON) docs/scripts/custom_formatter.py docs/_build/html/ - cp docs/_build/html/{reference,index}.html - - -vercel-build: install-vercel-deps build-api-ref - mkdir static/api_reference - mv langsmith-sdk/python/docs/_build/html/* static/api_reference/ - rm -rf langsmith-sdk - NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build From 920e0cf017bf7994fcc8d1ea82935e8f318d4ddb Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:41:56 -0800 Subject: [PATCH 08/24] mv back --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..c06d9765 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +install-vercel-deps: + yum -y update + yum install gcc bzip2-devel libffi-devel zlib-devel wget tar gzip rsync -y + +PYTHON = .venv/bin/python + +build-api-ref: + git clone -b bagatur/update_py_api_ref --depth=1 https://github.com/langchain-ai/langsmith-sdk.git + cd langsmith-sdk/python + python3 -m venv .venv + source .venv/bin/activate + $(PYTHON) -m pip install --upgrade pip + $(PYTHON) -m pip install --upgrade uv + $(PYTHON) -m uv pip install -r docs/requirements.txt + $(PYTHON) docs/create_api_rst.py + cd docs && make html + $(PYTHON) docs/scripts/custom_formatter.py docs/_build/html/ + cp docs/_build/html/{reference,index}.html + + +vercel-build: install-vercel-deps build-api-ref + mkdir static/api_reference + mv langsmith-sdk/python/docs/_build/html/* static/api_reference/ + rm -rf langsmith-sdk + NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build From 3ec18ab3c19b173df877e620b8bba750d5e537c0 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:43:52 -0800 Subject: [PATCH 09/24] fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c06d9765..5a9d6f41 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ build-api-ref: git clone -b bagatur/update_py_api_ref --depth=1 https://github.com/langchain-ai/langsmith-sdk.git cd langsmith-sdk/python python3 -m venv .venv - source .venv/bin/activate + . .venv/bin/activate $(PYTHON) -m pip install --upgrade pip $(PYTHON) -m pip install --upgrade uv $(PYTHON) -m uv pip install -r docs/requirements.txt From 8948fb135ce4141c982e791d565c4a997b5747f9 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:49:28 -0800 Subject: [PATCH 10/24] debug --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5a9d6f41..6248940b 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,10 @@ build-api-ref: . .venv/bin/activate $(PYTHON) -m pip install --upgrade pip $(PYTHON) -m pip install --upgrade uv + ls $(PYTHON) -m uv pip install -r docs/requirements.txt $(PYTHON) docs/create_api_rst.py - cd docs && make html + cd docs && make html && cd .. $(PYTHON) docs/scripts/custom_formatter.py docs/_build/html/ cp docs/_build/html/{reference,index}.html From d8f6d231d6892b63248519834f1535781eec6954 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 17:53:04 -0800 Subject: [PATCH 11/24] fix --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 6248940b..eca6f398 100644 --- a/Makefile +++ b/Makefile @@ -6,17 +6,15 @@ PYTHON = .venv/bin/python build-api-ref: git clone -b bagatur/update_py_api_ref --depth=1 https://github.com/langchain-ai/langsmith-sdk.git - cd langsmith-sdk/python python3 -m venv .venv . .venv/bin/activate $(PYTHON) -m pip install --upgrade pip $(PYTHON) -m pip install --upgrade uv - ls - $(PYTHON) -m uv pip install -r docs/requirements.txt - $(PYTHON) docs/create_api_rst.py - cd docs && make html && cd .. - $(PYTHON) docs/scripts/custom_formatter.py docs/_build/html/ - cp docs/_build/html/{reference,index}.html + cd langsmith-sdk && ../$(PYTHON) -m uv pip install -r python/docs/requirements.txt + $(PYTHON) langsmith-sdk/python/docs/create_api_rst.py + cd langsmith-sdk/python/docs && make html + $(PYTHON) langsmith-sdk/python/docs/scripts/custom_formatter.py langsmith-sdk/docs/_build/html/ + cp langsmith-sdk/python/docs/_build/html/{reference,index}.html vercel-build: install-vercel-deps build-api-ref From f5c4f31d86dd6587bf504e46d7b26e1e81835f86 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 18:07:41 -0800 Subject: [PATCH 12/24] fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eca6f398..c5321962 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ build-api-ref: $(PYTHON) -m pip install --upgrade uv cd langsmith-sdk && ../$(PYTHON) -m uv pip install -r python/docs/requirements.txt $(PYTHON) langsmith-sdk/python/docs/create_api_rst.py - cd langsmith-sdk/python/docs && make html + $(PYTHON) -m sphinx -T -E -b html -d langsmith-sdk/python/docs/_build/doctrees -c langsmith-sdk/python/docs langsmith-sdk/python/docs langsmith-sdk/python/docs/_build/html -j auto $(PYTHON) langsmith-sdk/python/docs/scripts/custom_formatter.py langsmith-sdk/docs/_build/html/ cp langsmith-sdk/python/docs/_build/html/{reference,index}.html From e999de561ad55c6091161503b37a69d05e967a37 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 18:10:04 -0800 Subject: [PATCH 13/24] fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c5321962..617e16ba 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ build-api-ref: $(PYTHON) -m pip install --upgrade uv cd langsmith-sdk && ../$(PYTHON) -m uv pip install -r python/docs/requirements.txt $(PYTHON) langsmith-sdk/python/docs/create_api_rst.py - $(PYTHON) -m sphinx -T -E -b html -d langsmith-sdk/python/docs/_build/doctrees -c langsmith-sdk/python/docs langsmith-sdk/python/docs langsmith-sdk/python/docs/_build/html -j auto + LC_ALL="en_US.UTF-8" $(PYTHON) -m sphinx -T -E -b html -d langsmith-sdk/python/docs/_build/doctrees -c langsmith-sdk/python/docs langsmith-sdk/python/docs langsmith-sdk/python/docs/_build/html -j auto $(PYTHON) langsmith-sdk/python/docs/scripts/custom_formatter.py langsmith-sdk/docs/_build/html/ cp langsmith-sdk/python/docs/_build/html/{reference,index}.html From 1e15869a1d15cbbabe68d02e90a4fccdbeaec9e7 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 18:12:08 -0800 Subject: [PATCH 14/24] fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 617e16ba..d2e1c289 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ build-api-ref: $(PYTHON) -m pip install --upgrade uv cd langsmith-sdk && ../$(PYTHON) -m uv pip install -r python/docs/requirements.txt $(PYTHON) langsmith-sdk/python/docs/create_api_rst.py - LC_ALL="en_US.UTF-8" $(PYTHON) -m sphinx -T -E -b html -d langsmith-sdk/python/docs/_build/doctrees -c langsmith-sdk/python/docs langsmith-sdk/python/docs langsmith-sdk/python/docs/_build/html -j auto + LC_ALL=C $(PYTHON) -m sphinx -T -E -b html -d langsmith-sdk/python/docs/_build/doctrees -c langsmith-sdk/python/docs langsmith-sdk/python/docs langsmith-sdk/python/docs/_build/html -j auto $(PYTHON) langsmith-sdk/python/docs/scripts/custom_formatter.py langsmith-sdk/docs/_build/html/ cp langsmith-sdk/python/docs/_build/html/{reference,index}.html From a1b990dd608def89edc547fb4ae9de4840ee0be2 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 18:17:32 -0800 Subject: [PATCH 15/24] empty --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d2e1c289..c6a1d7b0 100644 --- a/Makefile +++ b/Makefile @@ -22,3 +22,4 @@ vercel-build: install-vercel-deps build-api-ref mv langsmith-sdk/python/docs/_build/html/* static/api_reference/ rm -rf langsmith-sdk NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build + From 6e53a90cf8f8a34535740c476d7a1fbe5b442d89 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 18:54:15 -0800 Subject: [PATCH 16/24] link --- docs/reference/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/index.md b/docs/reference/index.md index 9c1ffb59..1ceef538 100644 --- a/docs/reference/index.md +++ b/docs/reference/index.md @@ -14,7 +14,7 @@ Technical reference that covers components, APIs, and other aspects of LangSmith ### SDK -- [Python SDK Reference](https://langsmith-sdk.readthedocs.io/en/latest/) +- [Python SDK Reference](/api_reference) - [LangChain off-the-shelf evaluators (Python only)](./reference/sdk_reference/langchain_evaluators) ### Common data types From 6876cae79f80b58ec496fb4a4d94fa003e6e37b2 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 18:56:19 -0800 Subject: [PATCH 17/24] link --- docs/reference/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/index.md b/docs/reference/index.md index 1ceef538..ebe46feb 100644 --- a/docs/reference/index.md +++ b/docs/reference/index.md @@ -14,7 +14,7 @@ Technical reference that covers components, APIs, and other aspects of LangSmith ### SDK -- [Python SDK Reference](/api_reference) +- [Python SDK Reference](https://langsmith-docs-git-bagatur-rfcbuiltinsdkref-langchain.vercel.app/api_reference) - [LangChain off-the-shelf evaluators (Python only)](./reference/sdk_reference/langchain_evaluators) ### Common data types From ee54dfe7e3d1ad054b53b8bc5a8af30c6c828963 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 19:02:23 -0800 Subject: [PATCH 18/24] fix --- Makefile | 4 ++-- docs/reference/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c6a1d7b0..54f8a6b7 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,8 @@ build-api-ref: vercel-build: install-vercel-deps build-api-ref - mkdir static/api_reference - mv langsmith-sdk/python/docs/_build/html/* static/api_reference/ + mkdir -p static/api_reference/python + mv langsmith-sdk/python/docs/_build/html/* static/api_reference/python/ rm -rf langsmith-sdk NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build diff --git a/docs/reference/index.md b/docs/reference/index.md index ebe46feb..dee88f9a 100644 --- a/docs/reference/index.md +++ b/docs/reference/index.md @@ -14,7 +14,7 @@ Technical reference that covers components, APIs, and other aspects of LangSmith ### SDK -- [Python SDK Reference](https://langsmith-docs-git-bagatur-rfcbuiltinsdkref-langchain.vercel.app/api_reference) +- [Python SDK Reference](https://langsmith-docs-git-bagatur-rfcbuiltinsdkref-langchain.vercel.app/reference/python) - [LangChain off-the-shelf evaluators (Python only)](./reference/sdk_reference/langchain_evaluators) ### Common data types From 0dddf0ffdb7cfc90caf98a7ebe4d85b6b5b7fc58 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 19:09:03 -0800 Subject: [PATCH 19/24] debug --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 54f8a6b7..477e6923 100644 --- a/Makefile +++ b/Makefile @@ -14,12 +14,11 @@ build-api-ref: $(PYTHON) langsmith-sdk/python/docs/create_api_rst.py LC_ALL=C $(PYTHON) -m sphinx -T -E -b html -d langsmith-sdk/python/docs/_build/doctrees -c langsmith-sdk/python/docs langsmith-sdk/python/docs langsmith-sdk/python/docs/_build/html -j auto $(PYTHON) langsmith-sdk/python/docs/scripts/custom_formatter.py langsmith-sdk/docs/_build/html/ - cp langsmith-sdk/python/docs/_build/html/{reference,index}.html vercel-build: install-vercel-deps build-api-ref - mkdir -p static/api_reference/python - mv langsmith-sdk/python/docs/_build/html/* static/api_reference/python/ + mkdir -p static/reference/python + mv langsmith-sdk/python/docs/_build/html/* static/reference/python/ rm -rf langsmith-sdk NODE_OPTIONS="--max-old-space-size=5000" yarn run docusaurus build From f25554c694292ffad4f89d56b5d0c77447424356 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 19:19:30 -0800 Subject: [PATCH 20/24] redirect --- vercel.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vercel.json b/vercel.json index 75bd5c29..3b8284f3 100644 --- a/vercel.json +++ b/vercel.json @@ -201,6 +201,10 @@ { "source": "/evaluation/how_to_guides/human_feedback/:path*", "destination": "/evaluation/how_to_guides/:path*" + }, + { + "source": "/reference/python(/?)", + "destimation": "/reference/python/reference" } ], "builds": [ From 30e38fdde090f8312da60c765778f42337206861 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Tue, 26 Nov 2024 19:21:38 -0800 Subject: [PATCH 21/24] fix --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 3b8284f3..7cbcf89c 100644 --- a/vercel.json +++ b/vercel.json @@ -204,7 +204,7 @@ }, { "source": "/reference/python(/?)", - "destimation": "/reference/python/reference" + "destination": "/reference/python/reference" } ], "builds": [ From 26f55e93022673b85dbe660c0d3a86e892040e21 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Wed, 27 Nov 2024 11:25:58 -0800 Subject: [PATCH 22/24] top nav --- docusaurus.config.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 33c16111..caeac401 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -134,9 +134,19 @@ const config = { position: "right", }, { - href: "https://api.smith.langchain.com/redoc", - label: "Go to API Docs", - position: "left", + type: 'dropdown', + label: 'API Reference', + position: 'left', + items: [ + { + label: 'REST', + href: 'https://api.smith.langchain.com/redoc', + }, + { + label: 'Python', + to: 'https://langsmith-docs-git-bagatur-rfcbuiltinsdkref-langchain.vercel.app/reference/python', + }, + ], }, ], }, From 3d3caf3383926542a34ae441b820dcf4a683faca Mon Sep 17 00:00:00 2001 From: Bagatur Date: Wed, 27 Nov 2024 11:27:59 -0800 Subject: [PATCH 23/24] local --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index caeac401..74049855 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -144,7 +144,7 @@ const config = { }, { label: 'Python', - to: 'https://langsmith-docs-git-bagatur-rfcbuiltinsdkref-langchain.vercel.app/reference/python', + to: '/reference/python', }, ], }, From c259e0231d0ae5a465de2fea56ff9eaa62de3e71 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Wed, 27 Nov 2024 11:36:36 -0800 Subject: [PATCH 24/24] fix --- docusaurus.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 74049855..615e9960 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -134,17 +134,17 @@ const config = { position: "right", }, { - type: 'dropdown', - label: 'API Reference', - position: 'left', + type: "dropdown", + label: "API Reference", + position: "left", items: [ { - label: 'REST', - href: 'https://api.smith.langchain.com/redoc', + label: "REST", + href: "https://api.smith.langchain.com/redoc", }, { - label: 'Python', - to: '/reference/python', + label: "Python", + to: "https://langsmith-docs-git-bagatur-rfcbuiltinsdkref-langchain.vercel.app/reference/python", }, ], },