Skip to content
Draft
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
36 changes: 0 additions & 36 deletions .github/ISSUE_TEMPLATE/langgraph-platform.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ All documentation lives in the `src/` folder, with the following structure:
- `/images`: Shared images used across OSS docs
- `/concepts`: Shared concepts used across OSS docs
- The root contains product/language agnostic meta-info such as our versioning & release policy and the releases page.
- `/langsmith`: Documentation for LangSmith, including quickstarts, observability, evaluation, prompt engineering, self hosting, and administration.
- `/langgraph-platform`: Documentation for the LangGraph Platform, including quickstarts, features, guides on building & deploying using the platform, management & administration, and reference docs.
- `/langsmith`: Documentation for LangSmith, including quickstarts, observability, evaluation, prompt engineering, guides on building & deploying using the platform, management & administration, and reference docs.
- `/labs`: Home to LangChain's experimental AI products, including deep agents, open SWE, and Open Agent Platform
- `/images`: Shared images used across all docs
- `/snippets`: Shared code snippets used across all docs
Expand Down
7 changes: 0 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ oss:
- src/oss/**
- src/oss/**/*

# Label for LangGraph Platform documentation changes
langgraph-platform:
- changed-files:
- any-glob-to-any-file:
- src/langgraph-platform/**
- src/langgraph-platform/**/*

# Label for Labs documentation changes
labs:
- changed-files:
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

🦜 **Welcome!** This repository contains the documentation build pipeline for LangChain projects.

* 🏠 [`docs.langchain.com`](https://docs.langchain.com) is our docs home, centralizing LangChain, LangGraph, LangGraph Platform, LangSmith, and LangChain Labs (Deep Agents, Open SWE, Open Agent Platform). This site is hosted on [Mintlify](https://mintlify.com).
* 🛠️ `reference.langchain.com` is home to the API reference docs for LangChain, LangGraph, LangGraph Platform, and LangChain integration packages (e.g. [`langchain-anthropic`](https://pypi.org/project/langchain-anthropic/), [`langchain-openai`](https://pypi.org/project/langchain-openai/)). These are static sites built from the source code and deployed to [Vercel](https://vercel.com).
* 🏠 [`docs.langchain.com`](https://docs.langchain.com) is our docs home, centralizing LangChain, LangGraph, LangSmith, and LangChain Labs (Deep Agents, Open SWE, Open Agent Platform). This site is hosted on [Mintlify](https://mintlify.com).
* 🛠️ `reference.langchain.com` is home to the API reference docs for LangChain, LangGraph, LangSmith, and LangChain integration packages (e.g. [`langchain-anthropic`](https://pypi.org/project/langchain-anthropic/), [`langchain-openai`](https://pypi.org/project/langchain-openai/)). These are static sites built from the source code and deployed to [Vercel](https://vercel.com).
* [`Python reference`](https://reference.langchain.com/python/)
* [`JavaScript/TypeScript reference`](https://reference.langchain.com/javascript/)

Expand All @@ -25,7 +25,6 @@ pipeline/ # Build pipeline source code
scripts/ # Helper scripts
src/ # Source documentation files (edit these)
labs/ # LangChain Labs docs
langgraph-platform/ # LangGraph Platform docs
langsmith/ # LangSmith docs
oss/ # LangChain, LangGraph, and integrations docs
docs.json # Mintlify site configuration
Expand Down
12 changes: 4 additions & 8 deletions pipeline/core/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ def build_all(self) -> None:
logger.info("Building LangGraph JavaScript version...")
self._build_langgraph_version("oss/javascript", "js")

# Build unversioned content (same content regardless of version)
logger.info("Building LangGraph Platform content...")
self._build_unversioned_content("langgraph-platform", "langgraph-platform")

logger.info("Building LangChain Labs content...")
self._build_unversioned_content("labs", "labs")

Expand Down Expand Up @@ -305,7 +301,7 @@ def build_file(self, file_path: Path) -> None:
if relative_path.parts[0] == "oss":
self._build_oss_file(file_path, relative_path)
# Check if this is unversioned content
elif relative_path.parts[0] in {"langgraph-platform", "labs", "langsmith"}:
elif relative_path.parts[0] in {"labs", "langsmith"}:
self._build_unversioned_file(file_path, relative_path)
# Handle shared files (images, docs.json, etc.)
elif self.is_shared_file(file_path):
Expand Down Expand Up @@ -340,7 +336,7 @@ def _build_oss_file(self, file_path: Path, relative_path: Path) -> None:
logger.info("Built JavaScript version: oss/javascript/%s", oss_relative)

def _build_unversioned_file(self, file_path: Path, relative_path: Path) -> None:
"""Build an unversioned file (langgraph-platform, labs, langsmith).
"""Build an unversioned file (langsmith, labs).

Args:
file_path: Path to the source file.
Expand Down Expand Up @@ -573,10 +569,10 @@ def _build_langgraph_version(self, output_dir: str, target_language: str) -> Non
)

def _build_unversioned_content(self, source_dir: str, output_dir: str) -> None:
"""Build unversioned content (langgraph-platform/, labs/, langsmith/).
"""Build unversioned content (labs/, langsmith/).

Args:
source_dir: Source directory name (e.g., "langgraph-platform", "labs").
source_dir: Source directory name (e.g., "labs").
output_dir: Output directory name (same as source_dir).
"""
src_path = self.src_dir / source_dir
Expand Down
6 changes: 1 addition & 5 deletions pipeline/core/watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,7 @@ def touch_files_for_source(source_file: Path) -> int:
os.utime(built_file, (current_time, current_time))
touched_count += 1

elif relative_path.parts[0] in {
"langgraph-platform",
"labs",
"langsmith",
}:
elif relative_path.parts[0] in {"labs", "langsmith"}:
# Unversioned content
built_file = self.build_dir / relative_path

Expand Down
2 changes: 1 addition & 1 deletion reference/javascript/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# LangChain TypeScript Reference Documentation

This directory contains the source code and build process for the TypeScript reference documentation site, hosted at [`reference.langchain.com/javascript`](https://reference.langchain.com/javascript). This site serves references for LangChain, LangGraph, LangGraph Platform, and LangChain integration packages (such as [`@langchain/anthropic`](https://npm.com/package/@langchain/anthropic), [`@langchain/openai`](https://npm.com/package/@langchain/openai), etc.).
This directory contains the source code and build process for the TypeScript reference documentation site, hosted at [`reference.langchain.com/javascript`](https://reference.langchain.com/javascript). This site serves references for LangChain, LangGraph, LangSmith, and LangChain integration packages (such as [`@langchain/anthropic`](https://npm.com/package/@langchain/anthropic), [`@langchain/openai`](https://npm.com/package/@langchain/openai), etc.).
2 changes: 1 addition & 1 deletion reference/python/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LangChain Python Reference Documentation

This directory contains the source code and build process for the Python reference documentation site, hosted at [`reference.langchain.com/python`](https://reference.langchain.com/python). This site serves references for LangChain, LangGraph, LangGraph Platform, and LangChain integration packages (such as [`langchain-anthropic`](https://pypi.org/project/langchain-anthropic/), [`langchain-openai`](https://pypi.org/project/langchain-openai/), etc.).
This directory contains the source code and build process for the Python reference documentation site, hosted at [`reference.langchain.com/python`](https://reference.langchain.com/python). This site serves references for LangChain, LangGraph, LangSmith, and LangChain integration packages (such as [`langchain-anthropic`](https://pypi.org/project/langchain-anthropic/), [`langchain-openai`](https://pypi.org/project/langchain-openai/), etc.).

The site is built using [MkDocs](https://www.mkdocs.org/) with the [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) theme and the [mkdocstrings](https://mkdocstrings.github.io/) plugin for generating API reference documentation from docstrings. See all config options in the [`mkdocs.yml`](./mkdocs.yml) file.

Expand Down
2 changes: 1 addition & 1 deletion scripts/update_mdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def update_mdx_files():
# Get all MDX files in the specified directories
mdx_files = []
for root in ["oss", "langsmith", "langgraph-platform"]:
for root in ["oss", "langsmith"]:
mdx_files.extend(glob.glob(f"{root}/**/*.mdx", recursive=True))

for file_path in mdx_files:
Expand Down
Loading