Skip to content

Conversation

beklapko
Copy link
Contributor

@beklapko beklapko commented Aug 6, 2025

Summary

Preview link: https://langchain-5e9cc07a-preview-brodyd-1754925111-e44a21e.mintlify.app/oss/python/overview

This PR does two main things:

  1. It reworks the builder.py file to generate JS and Python versions of the docs.
  2. It adds CSS and JS files for conditionally hiding the language picker.

The requirements for the picker are:

  • Show the picker when viewing the LangGraph docs
  • Hide the picker when viewing the LangGraph Platform or LangChain Labs docs

Review requests + info

We're doing custom things on top of Mintlify's stuff. It would be great if someone can help verify the changes to the builder.py file are acceptable, and although it's not the most elegant solution, that the CSS and JS files are an acceptable though likely temporary solution.

I tried to update and fix tests appropriately but I really need someone to validate those changes are good. I haven't fixed/updated unit tests like this before.

Todos

@lnhsingh lnhsingh changed the base branch from main to migrate-lg August 6, 2025 18:57
@beklapko beklapko changed the title [wip] Brody/docs versions Brody/docs versions Aug 7, 2025
@beklapko beklapko merged commit 6a7039f into migrate-lg Aug 13, 2025
7 checks passed
@beklapko beklapko deleted the brody/docs-versions branch August 13, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants