feat: frontend docs#2930
Merged
Christian Bromann (christian-bromann) merged 43 commits intomainfrom Mar 12, 2026
Merged
Conversation
88acf64 to
a4bc21c
Compare
Member
Author
62f838b to
152f08d
Compare
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
1ea74c9 to
77fcc59
Compare
Naomi Pentrel (npentrel)
approved these changes
Mar 12, 2026
Contributor
|
Mintlify preview ID generated: preview-cbfron-1773328705-7cadb12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Split the monolithic streaming/frontend documentation pages into individual pattern-specific pages across LangChain, LangGraph, and DeepAgents. Each page covers a single frontend pattern (tool calling, human-in-the-loop, branching chat, etc.) with an interactive playground embed powered by the
@langchain/docs-sandboxnpm package.Also restructures the "Streaming" nav groups into a top-level "Streaming" page and a new "Frontend" nav group for each product.
Type of change
Type: New documentation page / Update existing documentation
Related issues/PRs
Checklist
docs devsrc/docs.jsonif needed(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow
Additional notes
New frontend pattern pages
LangChain (10 pages):
tool-calling,human-in-the-loop,branching-chat,optimistic-updates,reasoning-tokens,structured-output,async-iterator-tools,message-queues,join-rejoin,time-travelDeepAgents (2 pages):
subagent-streaming,todo-listLangGraph (1 page):
graph-executionEach page includes a
<PatternEmbed>component that renders an interactive playground preview from the@langchain/docs-sandboxpackage.Playground embed build pipeline
The
PatternEmbedcomponent is now sourced from the@langchain/docs-sandboxnpm package rather than being manually maintained in the source tree:package.jsonwith@langchain/docs-sandbox@0.0.3dependency.npmrcwithlegacy-peer-deps=true(needed because the package declares a peer dependency using pnpm'sworkspace:*protocol)pipeline/core/builder.pyto copynode_modules/@langchain/docs-sandbox/dist/PatternEmbed.jsx→build/snippets/pattern-embed.jsxduring the build stepnpm installbefore building docsNavigation changes (
src/docs.json)Streamingsub-group (overview + frontend) into a single top-levelstreamingpage under LangChain and DeepAgentsFrontendnav groups for LangChain (10 pages), DeepAgents (3 pages including overview), and LangGraph (2 pages including overview)