[PR #167] [CLOSED] feat: language aware config step + hana changes #480

Closed
opened 2026-02-17 17:20:29 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/167
Author: @hntrl
Created: 8/15/2025
Status: Closed

Base: mainHead: hunter/hana-changes


📝 Commits (9)

📊 Changes

14 files changed (+798 additions, -1126 deletions)

View changed files

📝 pipeline/core/builder.py (+257 -103)
📝 pipeline/preprocessors/__init__.py (+2 -2)
📝 pipeline/preprocessors/markdown_preprocessor.py (+12 -7)
pipeline/tools/mintlify.py (+47 -0)
📝 src/docs.json (+308 -838)
src/hide-version-picker.css (+0 -27)
src/hide-version-picker.js (+0 -51)
src/images/brand/single-icons/langchain-labs.svg (+5 -0)
src/images/brand/single-icons/langchain.svg (+3 -0)
src/images/brand/single-icons/langgraph-platform.svg (+4 -0)
src/images/brand/single-icons/langgraph.svg (+6 -0)
src/images/brand/single-icons/langsmith.svg (+5 -0)
📝 src/index.mdx (+2 -2)
📝 src/style.css (+147 -96)

📄 Description

This adds a build step that has smarter handling for docsets with code fences, and adds a build step to docs.json to more intuitively organize content

  • We now automatically expand docsets that have code fenced content (meaning we don't need to hardcode two different references for python + js in docs.json)
  • When we encounter a directory that has code fenced content, instead of flagging it as a version we add it as a dropdown to better align with the design enhancements we want to make
  • When we encounter a doc that has code fences, we flag the top level directory as needing conditional parsing (instead of hard coding which directories should be parsed)
    • If we were to add code fences to lgp or LS docs today, we would automatically start building js + python docs the same way we do for LG

also removes the version picker since products are the thing we have versions for, not languages (sry brody lol)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/167 **Author:** [@hntrl](https://github.com/hntrl) **Created:** 8/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `hunter/hana-changes` --- ### 📝 Commits (9) - [`95939f8`](https://github.com/langchain-ai/docs/commit/95939f8af3b4ef5616f939b56e0a42cb4cae636a) styling and edits - [`f9eb926`](https://github.com/langchain-ai/docs/commit/f9eb926db4e4dcfea2c48a83ea76ab6013934ca0) changes - [`a10aad3`](https://github.com/langchain-ai/docs/commit/a10aad36fbc7a27292b1af0664507f560d75a9b1) Merge branch 'main' into fixes-lg - [`10c9e7a`](https://github.com/langchain-ai/docs/commit/10c9e7af41d4d71cc3428ca1fae229902f9d2c93) chore: add conditional blocks util - [`2cd5b39`](https://github.com/langchain-ai/docs/commit/2cd5b399a8cb2650010f35ec9637c47f6f25fd11) feat: top level language version parser - [`cb2cb40`](https://github.com/langchain-ai/docs/commit/cb2cb40a4e6ddf8a93ce9d6b6e177b300c4778aa) feat: dropdown style + add missing images - [`f7dd7ec`](https://github.com/langchain-ai/docs/commit/f7dd7ec50f407dd8128f84f01da5fd26fb2b8b26) chore: version picker hider - [`d7e753d`](https://github.com/langchain-ai/docs/commit/d7e753d287edda2f3172f93c1e62e5b203acdd81) fix: search bar changes - [`c5d2ebf`](https://github.com/langchain-ai/docs/commit/c5d2ebf7815eaaa3a855bb40314d5b0f2fc1d43a) tweaks ### 📊 Changes **14 files changed** (+798 additions, -1126 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/core/builder.py` (+257 -103) 📝 `pipeline/preprocessors/__init__.py` (+2 -2) 📝 `pipeline/preprocessors/markdown_preprocessor.py` (+12 -7) ➕ `pipeline/tools/mintlify.py` (+47 -0) 📝 `src/docs.json` (+308 -838) ➖ `src/hide-version-picker.css` (+0 -27) ➖ `src/hide-version-picker.js` (+0 -51) ➕ `src/images/brand/single-icons/langchain-labs.svg` (+5 -0) ➕ `src/images/brand/single-icons/langchain.svg` (+3 -0) ➕ `src/images/brand/single-icons/langgraph-platform.svg` (+4 -0) ➕ `src/images/brand/single-icons/langgraph.svg` (+6 -0) ➕ `src/images/brand/single-icons/langsmith.svg` (+5 -0) 📝 `src/index.mdx` (+2 -2) 📝 `src/style.css` (+147 -96) </details> ### 📄 Description This adds a build step that has smarter handling for docsets with code fences, and adds a build step to docs.json to more intuitively organize content * We now automatically expand docsets that have code fenced content (meaning we don't need to hardcode two different references for python + js in docs.json) * When we encounter a directory that has code fenced content, instead of flagging it as a version we add it as a dropdown to better align with the design enhancements we want to make * When we encounter a doc that has code fences, we flag the top level directory as needing conditional parsing (instead of hard coding which directories should be parsed) * If we were to add code fences to lgp or LS docs today, we would automatically start building js + python docs the same way we do for LG also removes the version picker since products are the thing we have versions for, not languages (sry brody lol) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:20:29 -05:00
yindo closed this issue 2026-02-17 17:20:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#480