Skip to content

Commit d161ea8

Browse files
authored
remove labs docs (#1144)
## Overview - Remove Labs docs since we are not surfacing in official LangChain docs now ## Type of change **Type:** Remove old docs ## Checklist <!-- Put an 'x' in all boxes that apply --> - [ ] I have read the [contributing guidelines](README.md) - [ ] I have tested my changes locally using `docs dev` - [ ] All code examples have been tested and work correctly - [ ] I have used **root relative** paths for internal links - [ ] I have updated navigation in `src/docs.json` if needed - I have gotten approval from the relevant reviewers - (Internal team members only / optional) I have created a preview deployment using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes <!-- Any other information that would be helpful for reviewers -->
1 parent b30277e commit d161ea8

31 files changed

+4
-3313
lines changed

β€Ž.github/labeler.ymlβ€Ž

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ oss:
3333
- src/oss/**
3434
- src/oss/**/*
3535

36-
# Label for Labs documentation changes
37-
labs:
38-
- changed-files:
39-
- any-glob-to-any-file:
40-
- src/labs/**
41-
- src/labs/**/*
42-
4336
# Label for Python-specific documentation
4437
python:
4538
- changed-files:

β€Žpipeline/core/builder.pyβ€Ž

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ def build_all(self) -> None:
9292
logger.info("Building LangGraph JavaScript version...")
9393
self._build_langgraph_version("oss/javascript", "js")
9494

95-
logger.info("Building LangChain Labs content...")
96-
self._build_unversioned_content("labs", "labs")
97-
9895
logger.info("Building LangSmith content...")
9996
self._build_unversioned_content("langsmith", "langsmith")
10097

@@ -305,7 +302,7 @@ def build_file(self, file_path: Path) -> None:
305302
if relative_path.parts[0] == "oss":
306303
self._build_oss_file(file_path, relative_path)
307304
# Check if this is unversioned content
308-
elif relative_path.parts[0] in {"labs", "langsmith"}:
305+
elif relative_path.parts[0] == "langsmith":
309306
self._build_unversioned_file(file_path, relative_path)
310307
# Handle shared files (images, docs.json, etc.)
311308
elif self.is_shared_file(file_path):
@@ -340,7 +337,7 @@ def _build_oss_file(self, file_path: Path, relative_path: Path) -> None:
340337
logger.info("Built JavaScript version: oss/javascript/%s", oss_relative)
341338

342339
def _build_unversioned_file(self, file_path: Path, relative_path: Path) -> None:
343-
"""Build an unversioned file (langsmith, labs).
340+
"""Build an unversioned file (langsmith).
344341
345342
Args:
346343
file_path: Path to the source file.
@@ -581,10 +578,10 @@ def _build_langgraph_version(self, output_dir: str, target_language: str) -> Non
581578
)
582579

583580
def _build_unversioned_content(self, source_dir: str, output_dir: str) -> None:
584-
"""Build unversioned content (labs/, langsmith/).
581+
"""Build unversioned content (langsmith/).
585582
586583
Args:
587-
source_dir: Source directory name (e.g., "labs").
584+
source_dir: Source directory name (e.g., "langsmith").
588585
output_dir: Output directory name (same as source_dir).
589586
"""
590587
src_path = self.src_dir / source_dir

β€Žsrc/labs/deep-agents/built-in-components.mdxβ€Ž

Lines changed: 0 additions & 92 deletions
This file was deleted.

β€Žsrc/labs/deep-agents/configuration-options.mdxβ€Ž

Lines changed: 0 additions & 122 deletions
This file was deleted.

β€Žsrc/labs/deep-agents/overview.mdxβ€Ž

Lines changed: 0 additions & 44 deletions
This file was deleted.

β€Žsrc/labs/deep-agents/quickstart.mdxβ€Ž

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
Β (0)