Skip to content

Conversation

@sydney-runkle
Copy link
Contributor

No description provided.

@Copilot Copilot AI review requested due to automatic review settings October 11, 2025 20:22
@github-actions github-actions bot added langchain For docs changes to LangChain langgraph For docs changes to LangGraph python For content related to the Python version of LangChain projects oss javascript docs-infra labels Oct 11, 2025
@sydney-runkle sydney-runkle changed the title Change content highlights interactive stuff into working branch Oct 11, 2025
@sydney-runkle sydney-runkle merged commit a905883 into sr/final-v1-cleanup Oct 11, 2025
4 of 6 checks passed
@sydney-runkle sydney-runkle deleted the change-content-highlights branch October 11, 2025 20:23
Copy link
Contributor

Copilot AI left a 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

@github-actions
Copy link
Contributor

Preview ID generated: preview-change-1760214224-afd50fd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-infra javascript langchain For docs changes to LangChain langgraph For docs changes to LangGraph oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant