Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ broken-links: build
if [ -n "$$VERSION" ]; then sed -i.bak "s/__VERSION__/\"$$VERSION\"/g" "$$KATEX_MJS" 2>/dev/null || true; fi; \
fi
@cd build && mint broken-links 2>&1 | tee /tmp/broken-links.txt > /dev/null; \
filtered=$$(grep -v '/langsmith/agent-server-api/' /tmp/broken-links.txt | grep -v '/api-reference/' | grep -v '\.\./langchain/agents' | python3 -c "import sys; sys.stdout.write(sys.stdin.read().replace('\u00a0', ' '))"); \
filtered=$$(grep -v '/langsmith/agent-server-api/' /tmp/broken-links.txt | grep -v '/langsmith/smith-api' | grep -v '/api-reference/' | grep -v '\.\./langchain/agents' | python3 -c "import sys; sys.stdout.write(sys.stdin.read().replace('\u00a0', ' '))"); \
if echo "$$filtered" | grep -qE '^[[:space:]]+.*/'; then \
echo "$$filtered"; echo ""; echo "❌ Broken links found"; exit 1; \
else \
Expand All @@ -130,7 +130,7 @@ broken-links-with-anchors: build
if [ -n "$$VERSION" ]; then sed -i.bak "s/__VERSION__/\"$$VERSION\"/g" "$$KATEX_MJS" 2>/dev/null || true; fi; \
fi
@cd build && mint broken-links --check-anchors 2>&1 | tee /tmp/broken-links.txt > /dev/null; \
filtered=$$(grep -v '/langsmith/agent-server-api/' /tmp/broken-links.txt | grep -v '/api-reference/' | grep -v '\.\./langchain/agents' | python3 -c "import sys; sys.stdout.write(sys.stdin.read().replace('\u00a0', ' '))"); \
filtered=$$(grep -v '/langsmith/agent-server-api/' /tmp/broken-links.txt | grep -v '/langsmith/smith-api' | grep -v '/api-reference/' | grep -v '\.\./langchain/agents' | python3 -c "import sys; sys.stdout.write(sys.stdin.read().replace('\u00a0', ' '))"); \
if echo "$$filtered" | grep -qE '^[[:space:]]+.*/'; then \
echo "$$filtered"; echo ""; echo "❌ Broken links found"; exit 1; \
else \
Expand Down
14 changes: 12 additions & 2 deletions src/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,13 @@
"langsmith/smith-java-sdk",
"langsmith/langgraph-python-sdk",
"langsmith/langgraph-js-ts-sdk",
"langsmith/smith-api-ref",
{
"group": "LangSmith API",
"openapi": {
"source": "https://api.smith.langchain.com/openapi.json",
"directory": "langsmith/smith-api"
}
},
{
"group": "LangSmith Deployment",
"pages": [
Expand Down Expand Up @@ -2309,7 +2315,11 @@
},
{
"source": "/langsmith/api-ref",
"destination": "/langsmith/smith-api-ref"
"destination": "/langsmith/smith-api"
},
{
"source": "/langsmith/smith-api-ref",
"destination": "/langsmith/smith-api"
},
{
"source": "/langsmith/js-ts-sdk",
Expand Down
2 changes: 1 addition & 1 deletion src/langsmith/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The following sections provide API references and SDK documentation for LangSmit
<Card
title="LangSmith API"
icon="code"
href="/langsmith/smith-api-ref"
href="/langsmith/smith-api"
>
Complete REST API reference for LangSmith platform features.
</Card>
Expand Down
5 changes: 0 additions & 5 deletions src/langsmith/smith-api-ref.mdx

This file was deleted.

Loading