[PR #4242] [MERGED] refactor(pipeline): extract URL and badge helpers in partner_pkg_table #4229

Closed
opened 2026-06-05 19:13:12 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4242
Author: @mdrxy
Created: 6/1/2026
Status: Merged
Merged: 6/1/2026
Merged by: @mdrxy

Base: mainHead: mdrxy/pkg-rfc


📝 Commits (1)

  • fb8a55e refactor(pipeline): extract URL and badge helpers in partner_pkg_table

📊 Changes

1 file changed (+66 additions, -24 deletions)

View changed files

📝 pipeline/tools/partner_pkg_table.py (+66 -24)

📄 Description

Pulls the inline URL, badge, and JS-support string-building out of _enrich_package and package_row in partner_pkg_table.py into small standalone helpers, making each piece independently testable and the two callers readable. Also corrects the integration check: PyYAML parses integration: false as a Python bool False, so the old p.get("integration") == "false" string comparison never matched. Regenerated overview.mdx is byte-identical, since every package currently using integration: false sits in IGNORE_PKG and is dropped before URL generation.


🔄 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/4242 **Author:** [@mdrxy](https://github.com/mdrxy) **Created:** 6/1/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `mdrxy/pkg-rfc` --- ### 📝 Commits (1) - [`fb8a55e`](https://github.com/langchain-ai/docs/commit/fb8a55e18a489c77dd987c475dcc4836a1e80c10) refactor(pipeline): extract URL and badge helpers in `partner_pkg_table` ### 📊 Changes **1 file changed** (+66 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/tools/partner_pkg_table.py` (+66 -24) </details> ### 📄 Description Pulls the inline URL, badge, and JS-support string-building out of `_enrich_package` and `package_row` in `partner_pkg_table.py` into small standalone helpers, making each piece independently testable and the two callers readable. Also corrects the integration check: PyYAML parses `integration: false` as a Python bool `False`, so the old `p.get("integration") == "false"` string comparison never matched. Regenerated `overview.mdx` is byte-identical, since every package currently using `integration: false` sits in `IGNORE_PKG` and is dropped before URL generation. --- <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-06-05 19:13:12 -04:00
yindo closed this issue 2026-06-05 19:13:12 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#4229