-
Notifications
You must be signed in to change notification settings - Fork 730
oss: code snippet fixes + other minor changes #852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Preview ID generated: preview-change-1760200915-0b131ec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request updates code highlighting syntax across the LangChain documentation by replacing the traditional highlight={lines} format with # [!code highlight] comments. The change affects numerous MDX files, including migration guides, integration documentation, and conceptual guides. Additionally, some content has been reorganized, such as moving the "Simplified package" section earlier in the LangChain v1 migration guide and removing a section about using tools with agents.
Reviewed Changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| src/oss/python/migrate/langchain-v1.mdx | Reorganized content structure and updated code highlighting syntax |
| src/oss/python/integrations/chat/openai.mdx | Updated code highlighting from highlight={} to # [!code highlight] comments |
| src/oss/python/integrations/chat/anthropic.mdx | Updated code highlighting syntax throughout the file |
| src/oss/langgraph/use-subgraphs.mdx | Updated code highlighting and comment formatting |
| src/oss/langgraph/use-graph-api.mdx | Updated code highlighting syntax in multiple code blocks |
| src/oss/langgraph/use-functional-api.mdx | Updated code highlighting and comment formatting |
| src/oss/langgraph/streaming.mdx | Updated code highlighting syntax throughout |
| src/oss/langgraph/interrupts.mdx | Updated code highlighting in interrupt configuration examples |
| src/oss/langgraph/graph-api.mdx | Updated code highlighting syntax |
| src/oss/langgraph/functional-api.mdx | Updated code highlighting and comment formatting |
| src/oss/langgraph/durable-execution.mdx | Updated code highlighting in task examples |
| src/oss/langgraph/add-memory.mdx | Updated code highlighting throughout memory configuration examples |
| src/oss/langgraph/INVALID_CONCURRENT_GRAPH_UPDATE.mdx | Updated code highlighting in error documentation |
| src/oss/langchain/tools.mdx | Removed "Use tools with agents" section |
| src/oss/langchain/test.mdx | Updated code highlighting in testing examples |
| src/oss/langchain/streaming.mdx | Updated code highlighting and reorganized headings |
| src/oss/langchain/short-term-memory.mdx | Updated code highlighting throughout memory examples |
| src/oss/langchain/overview.mdx | Minor content updates to improve clarity |
| src/oss/langchain/models.mdx | Updated code highlighting syntax |
| src/oss/langchain/mcp.mdx | Updated code highlighting in MCP client examples |
| src/oss/langchain/evals.mdx | Updated code highlighting in evaluation examples |
| src/oss/concepts/context.mdx | Updated code highlighting and removed explanatory comments |
|
Preview ID generated: preview-change-1760201213-6b6ab1a |
just scoped to oss folder for now
* removing old style comment + annotation syntax
* removing `highlight={X,Y,Z}` syntax in favor of `# [!code highlight]`
syntax inline
* some of @hwchase17's initial docs feedback 👍
just scoped to oss folder for now
highlight={X,Y,Z}syntax in favor of# [!code highlight]syntax inline