-
Notifications
You must be signed in to change notification settings - Fork 308
interactive stuff into working branch #854
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
interactive stuff into working branch #854
Conversation
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 PR implements a change to content highlighting by replacing the highlight attribute in code blocks with // [!code highlight] and # [!code highlight] comment-based highlighting. The change affects documentation files across LangChain, LangGraph, and other components, providing a more flexible approach to content highlighting.
Key changes:
- Replaced
highlight={line_numbers}attributes with inline comment-based highlighting using[!code highlight] - Added a middleware visualization plugin with interactive diagrams and documentation
- Updated build pipeline to support additional file types (HTML, JSON) and exclude plugins from link rewriting
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/plugins/middleware_visualization/index.html |
Interactive middleware hooks visualizer with language-specific diagrams |
src/plugins/middleware_visualization/generate_middleware_diagrams.py |
Python script to generate Mermaid diagrams for middleware hook combinations |
src/plugins/middleware_visualization/diagrams_python.js |
Generated JavaScript file containing Python diagrams |
src/plugins/middleware_visualization/diagrams_js.js |
Generated JavaScript file containing JavaScript diagrams |
src/plugins/middleware_visualization/README.md |
Documentation for the middleware visualization plugin |
src/oss/python/migrate/langchain-v1.mdx |
Migration guide with moved content and updated highlighting |
src/oss/python/integrations/chat/openai.mdx |
OpenAI integration docs with updated code highlighting |
src/oss/python/integrations/chat/anthropic.mdx |
Anthropic integration docs with updated code highlighting |
| Multiple MDX files | Various documentation files updated to use comment-based highlighting |
pipeline/core/builder.py |
Build pipeline updates to support HTML files and exclude plugins from link rewriting |
|
Preview ID generated: preview-change-1760214224-afd50fd |
No description provided.