Skip to content

docs: bundles separation - #13734

Closed
mendonk wants to merge 9 commits into
release-1.11.0from
docs-bundles-separation
Closed

docs: bundles separation#13734
mendonk wants to merge 9 commits into
release-1.11.0from
docs-bundles-separation

Conversation

@mendonk

@mendonk mendonk commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

#13563

  • Bundles page
  • Contributing bundles page
  • Custom components addition
  • Release note
  • Partial for adding to lfx-bundles component pages
  • Partial for graduated providers, and clarity that they are still included, but the components provide additional configuration options.

Summary by CodeRabbit

  • Documentation
    • Added comprehensive bundle installation guidance across all provider bundle documentation pages.
    • Updated release notes with breaking changes regarding bundle provider distribution.
    • Enhanced core components documentation with bundle installation instructions and compatibility information.
    • Improved bundle contribution guide with step-by-step setup and packaging instructions.

@mendonk
mendonk requested a review from erichare June 17, 2026 21:47
@mendonk mendonk self-assigned this Jun 17, 2026
@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Two new shared MDX partials (_partial-bundle-lfx-bundles-install.mdx and _partial-bundle-graduated-install.mdx) are introduced and added to ~60 bundle documentation pages. The bundles overview, custom components, concepts, contributing guide, release notes, and Flow DevOps SDK reference are updated to document the 1.11.x bundle provider split and installation paths.

Changes

Bundle install documentation rollout

Layer / File(s) Summary
Shared install partial components
docs/docs/_partial-bundle-lfx-bundles-install.mdx, docs/docs/_partial-bundle-graduated-install.mdx
_partial-bundle-lfx-bundles-install.mdx renders a static info admonition with uv pip install lfx-bundles steps. _partial-bundle-graduated-install.mdx exports GraduatedBundleInstall, a React component that looks up per-package provider metadata and conditionally renders a core-support note alongside install instructions.
Bundles overview, concepts, custom components, release notes, and API reference
docs/docs/Components/components-bundles.mdx, docs/docs/Components/concepts-components.mdx, docs/docs/Components/components-custom-components.mdx, docs/docs/Support/release-notes.mdx, docs/docs/API-Reference/flow-devops-sdk.mdx
The main bundles page gains an updated intro and a full "Install bundle components" section with a compatibility table and subsections for default, lfx-bundles, graduated (lfx-<name>), and headless installs. Release notes document the 1.11.x breaking bundle-provider split. The concepts and custom components pages add bundle cross-references and freeze the default provider directory. The SDK reference adds a tip on core vs. bundle installs.
Contributing bundles guide rewrite
docs/docs/Contributing/contributing-bundles.mdx
Replaces the prior contributing instructions with an end-to-end workflow covering bundle directory layout, pyproject.toml, extension.json, Python re-exports, workspace wiring, frontend icon casing (icons/DarthVader), sidebar name alignment with extension.json, and a validate-and-build section using lfx extension validate.
Graduated partner bundle pages
docs/docs/Components/bundles-amazon.mdx, bundles-anthropic.mdx, bundles-cohere.mdx, bundles-datastax.mdx, bundles-openai.mdx
Pages for providers with enhanced graduated packages import and render GraduatedBundleInstall with their respective packageName prop.
Long-tail bundle pages (PartialLfxBundlesInstall)
docs/docs/Components/bundles-agentics.mdx, bundles-aiml.mdx, bundles-altk.mdx, bundles-apify.mdx, bundles-assemblyai.mdx, bundles-azure.mdx, bundles-baidu.mdx, bundles-bing.mdx, bundles-cassandra.mdx, bundles-chroma.mdx, bundles-cleanlab.mdx, bundles-clickhouse.mdx, bundles-cloudflare.mdx, bundles-codeagents.mdx, bundles-cometapi.mdx, bundles-composio.mdx, bundles-couchbase.mdx, bundles-cuga.mdx, bundles-deepseek.mdx, bundles-elastic.mdx, bundles-exa.mdx, bundles-faiss.mdx, bundles-files-ingestion.mdx, bundles-firecrawl.mdx, bundles-glean.mdx, bundles-google.mdx, bundles-groq.mdx, bundles-huggingface.mdx, bundles-icosacomputing.mdx, bundles-langchain.mdx, bundles-lite-llm.mdx, bundles-lmstudio.mdx, bundles-maritalk.mdx, bundles-mem0.mdx, bundles-milvus.mdx, bundles-mistralai.mdx, bundles-mongodb.mdx, bundles-notion.mdx, bundles-novita.mdx, bundles-nvidia.mdx, bundles-ollama.mdx, bundles-openrouter.mdx, bundles-perplexity.mdx, bundles-pgvector.mdx, bundles-pinecone.mdx, bundles-qdrant.mdx, bundles-redis.mdx, bundles-sambanova.mdx, bundles-searchapi.mdx, bundles-serper.mdx, bundles-supabase.mdx, bundles-upstash.mdx, bundles-vectara.mdx, bundles-vertexai.mdx, bundles-vllm.mdx, bundles-weaviate.mdx, bundles-wikipedia.mdx, bundles-xai.mdx
Each page receives a new import for PartialLfxBundlesInstall and a <PartialLfxBundlesInstall /> render call near the top of the page content, adding the shared lfx-bundles install admonition.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • langflow-ai/langflow#13487: Introduces the Firecrawl bundle documentation page (bundles-firecrawl.mdx), which this PR subsequently updates to include the PartialLfxBundlesInstall partial.

Suggested labels

lgtm

Suggested reviewers

  • erichare
🚥 Pre-merge checks | ✅ 9
✅ Passed checks (9 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: bundles separation' clearly describes the main change—documenting the separation/distribution of bundles in Langflow. It is concise, specific, and directly reflects the primary purpose of this comprehensive documentation update across numerous bundle pages and contributing guides.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Test Coverage For New Implementations ✅ Passed This PR is a documentation-only change with 71 MDX files and 2 new partial components. The project uses Docusaurus without a test framework for documentation components. Existing React components i...
Test Quality And Coverage ✅ Passed This PR is documentation-only with no code implementations requiring tests. It adds MDX documentation and two partial components for rendering bundle installation guidance. No backend code, APIs, o...
Test File Naming And Structure ✅ Passed This is a documentation-only PR with no test files. The custom check for test file patterns is not applicable since the PR contains zero backend tests (test_.py), frontend tests (.test.ts/tsx), o...
Excessive Mock Usage Warning ✅ Passed Custom check for excessive mock usage is not applicable—PR contains only documentation changes (.mdx files) with no test file modifications.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs-bundles-separation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 17, 2026
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

✅ Test Coverage Advisor

No source changes detected without accompanying tests. Thanks for keeping coverage up! 🎉

Advisory check only — never blocks merge.

@github-actions github-actions Bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jun 17, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jun 17, 2026
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Build successful! ✅
Deploying docs draft.
Deploy successful! View draft

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/docs/Components/bundles-cometapi.mdx (1)

7-9: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Missing Icon in bundles introduction and misplaced import.

Line 9 lacks the Icon component that other bundle pages use. Additionally, the PartialLfxBundlesInstall import is at line 31 (after the component is used at line 15), which causes a render error. Move the import to the top of the file with other imports, and add the Icon.

🐛 Proposed fix
 import Icon from "`@site/src/components/icon`";
+import PartialLfxBundlesInstall from '`@site/docs/_partial-bundle-lfx-bundles-install.mdx`';

 [Bundles](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.

And replace line 9:

-[Bundles](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
+<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.

Then remove the duplicate import at lines 30–31:

 import PartialParams from '`@site/docs/_partial-hidden-params.mdx`';
-import PartialLfxBundlesInstall from '`@site/docs/_partial-bundle-lfx-bundles-install.mdx`';
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/docs/Components/bundles-cometapi.mdx` around lines 7 - 9, The bundles
introduction is missing the Icon component usage that other bundle documentation
pages include, and the PartialLfxBundlesInstall import is positioned after where
it is first used in the file, causing a render error. Add the Icon component to
the introductory paragraph at line 9 (following the pattern used in other bundle
pages), then move the PartialLfxBundlesInstall import from its current location
at line 31 to the top of the file with the other imports around line 7, and
remove the duplicate import statement that was at lines 30-31.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/docs/Components/bundles-google.mdx`:
- Around line 12-14: The PartialLfxBundlesInstall component is being used in the
JSX before its import statement is declared, which will cause a "not defined"
error at runtime. Move the import statement for PartialLfxBundlesInstall from
line 161 (near the legacy section) to the top of the file around line 6-7 where
the other imports are located, ensuring the import is declared before any JSX
usage of the component.

In `@docs/docs/Components/bundles-redis.mdx`:
- Line 66: The PartialLfxBundlesInstall import statement is currently placed at
line 66 after markdown content and after its usage, which violates the
established convention of keeping all imports at the top of the file. Remove the
import statement for PartialLfxBundlesInstall from line 66 and move it to the
top import block with the other import statements to match the pattern used in
similar files like bundles-agentics.mdx and bundles-aiml.mdx for better
maintainability and consistency.

In `@docs/docs/Components/components-custom-components.mdx`:
- Around line 38-40: The admonition type `:::note` is not allowed per
documentation style guidelines. Replace the `:::note` admonition marker with one
of the allowed types: `:::tip`, `:::warning`, or `:::danger`. Choose the type
that best fits the content context (in this case, the note about the frozen path
and recommendation to use distributable bundles instead).

---

Outside diff comments:
In `@docs/docs/Components/bundles-cometapi.mdx`:
- Around line 7-9: The bundles introduction is missing the Icon component usage
that other bundle documentation pages include, and the PartialLfxBundlesInstall
import is positioned after where it is first used in the file, causing a render
error. Add the Icon component to the introductory paragraph at line 9 (following
the pattern used in other bundle pages), then move the PartialLfxBundlesInstall
import from its current location at line 31 to the top of the file with the
other imports around line 7, and remove the duplicate import statement that was
at lines 30-31.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a41b9ecd-4527-4824-bbae-8ac6abfce857

📥 Commits

Reviewing files that changed from the base of the PR and between e5d42e5 and 37264ee.

📒 Files selected for processing (71)
  • docs/docs/API-Reference/flow-devops-sdk.mdx
  • docs/docs/Components/bundles-agentics.mdx
  • docs/docs/Components/bundles-aiml.mdx
  • docs/docs/Components/bundles-altk.mdx
  • docs/docs/Components/bundles-amazon.mdx
  • docs/docs/Components/bundles-anthropic.mdx
  • docs/docs/Components/bundles-apify.mdx
  • docs/docs/Components/bundles-assemblyai.mdx
  • docs/docs/Components/bundles-azure.mdx
  • docs/docs/Components/bundles-baidu.mdx
  • docs/docs/Components/bundles-bing.mdx
  • docs/docs/Components/bundles-cassandra.mdx
  • docs/docs/Components/bundles-chroma.mdx
  • docs/docs/Components/bundles-cleanlab.mdx
  • docs/docs/Components/bundles-clickhouse.mdx
  • docs/docs/Components/bundles-cloudflare.mdx
  • docs/docs/Components/bundles-codeagents.mdx
  • docs/docs/Components/bundles-cohere.mdx
  • docs/docs/Components/bundles-cometapi.mdx
  • docs/docs/Components/bundles-composio.mdx
  • docs/docs/Components/bundles-couchbase.mdx
  • docs/docs/Components/bundles-cuga.mdx
  • docs/docs/Components/bundles-datastax.mdx
  • docs/docs/Components/bundles-deepseek.mdx
  • docs/docs/Components/bundles-elastic.mdx
  • docs/docs/Components/bundles-exa.mdx
  • docs/docs/Components/bundles-faiss.mdx
  • docs/docs/Components/bundles-files-ingestion.mdx
  • docs/docs/Components/bundles-firecrawl.mdx
  • docs/docs/Components/bundles-glean.mdx
  • docs/docs/Components/bundles-google.mdx
  • docs/docs/Components/bundles-groq.mdx
  • docs/docs/Components/bundles-huggingface.mdx
  • docs/docs/Components/bundles-icosacomputing.mdx
  • docs/docs/Components/bundles-langchain.mdx
  • docs/docs/Components/bundles-lite-llm.mdx
  • docs/docs/Components/bundles-lmstudio.mdx
  • docs/docs/Components/bundles-maritalk.mdx
  • docs/docs/Components/bundles-mem0.mdx
  • docs/docs/Components/bundles-milvus.mdx
  • docs/docs/Components/bundles-mistralai.mdx
  • docs/docs/Components/bundles-mongodb.mdx
  • docs/docs/Components/bundles-notion.mdx
  • docs/docs/Components/bundles-novita.mdx
  • docs/docs/Components/bundles-nvidia.mdx
  • docs/docs/Components/bundles-ollama.mdx
  • docs/docs/Components/bundles-openai.mdx
  • docs/docs/Components/bundles-openrouter.mdx
  • docs/docs/Components/bundles-perplexity.mdx
  • docs/docs/Components/bundles-pgvector.mdx
  • docs/docs/Components/bundles-pinecone.mdx
  • docs/docs/Components/bundles-qdrant.mdx
  • docs/docs/Components/bundles-redis.mdx
  • docs/docs/Components/bundles-sambanova.mdx
  • docs/docs/Components/bundles-searchapi.mdx
  • docs/docs/Components/bundles-serper.mdx
  • docs/docs/Components/bundles-supabase.mdx
  • docs/docs/Components/bundles-upstash.mdx
  • docs/docs/Components/bundles-vectara.mdx
  • docs/docs/Components/bundles-vertexai.mdx
  • docs/docs/Components/bundles-vllm.mdx
  • docs/docs/Components/bundles-weaviate.mdx
  • docs/docs/Components/bundles-wikipedia.mdx
  • docs/docs/Components/bundles-xai.mdx
  • docs/docs/Components/components-bundles.mdx
  • docs/docs/Components/components-custom-components.mdx
  • docs/docs/Components/concepts-components.mdx
  • docs/docs/Contributing/contributing-bundles.mdx
  • docs/docs/Support/release-notes.mdx
  • docs/docs/_partial-bundle-graduated-install.mdx
  • docs/docs/_partial-bundle-lfx-bundles-install.mdx

Comment on lines +12 to +14

<PartialLfxBundlesInstall />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Critical: Move import statement to the top of the file.

The PartialLfxBundlesInstall component is rendered at line 13, but the import statement is placed at line 161 (near the legacy section). In MDX/React, all imports must be declared before they are used. This will cause a runtime error: "PartialLfxBundlesInstall is not defined."

Move the import to the top of the file, near other imports (line 6-7).

🔧 Proposed fix

Remove import from line 161:

-import PartialLegacy from '`@site/docs/_partial-legacy.mdx`';
-import PartialLfxBundlesInstall from '`@site/docs/_partial-bundle-lfx-bundles-install.mdx`';
+import PartialLegacy from '`@site/docs/_partial-legacy.mdx`';

Add import at the top of the file (after line 6):

 import Icon from "`@site/src/components/icon`";
+import PartialLfxBundlesInstall from '`@site/docs/_partial-bundle-lfx-bundles-install.mdx`';

Also applies to: 161-161

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/docs/Components/bundles-google.mdx` around lines 12 - 14, The
PartialLfxBundlesInstall component is being used in the JSX before its import
statement is declared, which will cause a "not defined" error at runtime. Move
the import statement for PartialLfxBundlesInstall from line 161 (near the legacy
section) to the top of the file around line 6-7 where the other imports are
located, ensuring the import is declared before any JSX usage of the component.

<PartialParams />

import PartialConditionalParams from '@site/docs/_partial-conditional-params.mdx';
import PartialLfxBundlesInstall from '@site/docs/_partial-bundle-lfx-bundles-install.mdx';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

cat -n docs/docs/Components/bundles-redis.mdx

Repository: langflow-ai/langflow

Length of output: 4215


🏁 Script executed:

# Search for similar imports in other docs files to understand pattern conventions
rg "import Partial.*from.*_partial.*\.mdx" docs/ -A 1 -B 1 | head -100

Repository: langflow-ai/langflow

Length of output: 9246


🏁 Script executed:

# Check if there are imports after markdown content in other files
fd "\.mdx$" docs/docs/Components/ | head -5 | xargs -I {} sh -c 'echo "=== {} ===" && cat -n {} | grep -E "^[[:space:]]*[0-9]+[[:space:]]+import|^[[:space:]]*[0-9]+[[:space:]]+^#{1,6}|<Partial|<Icon"'

Repository: langflow-ai/langflow

Length of output: 2533


🏁 Script executed:

# Check for docusaurus config and MDX processing settings
find . -maxdepth 2 -name "docusaurus.config.*" -o -name ".mdx*" -o -name "package.json" | head -5

Repository: langflow-ai/langflow

Length of output: 127


🏁 Script executed:

# Look for other MDX files with imports after markdown content/usage
fd "\.mdx$" docs/docs/ --max-one-result=20 | xargs -I {} sh -c '
  if grep -q "<Partial" {} && grep -q "^import.*_partial.*\.mdx" {}; then
    first_partial=$(grep -n "<Partial" {} | head -1 | cut -d: -f1)
    last_import=$(grep -n "^import.*_partial.*\.mdx" {} | tail -1 | cut -d: -f1)
    if [ "$first_partial" -lt "$last_import" ]; then
      echo "MISORDER: {} - Usage at $first_partial, Import at $last_import"
    fi
  fi
' 2>/dev/null

Repository: langflow-ai/langflow

Length of output: 280


🏁 Script executed:

# Check docusaurus configuration to understand MDX processing
cat -n docusaurus.config.js 2>/dev/null | grep -A 5 -B 5 -i "mdx\|markdown" | head -50

Repository: langflow-ai/langflow

Length of output: 46


🏁 Script executed:

# Check docusaurus config file for MDX settings
cat docs/docusaurus.config.js | head -100

Repository: langflow-ai/langflow

Length of output: 3641


🏁 Script executed:

# Look for imports after markdown content in bundle files
fd "\.mdx$" docs/docs/Components/bundles-*.mdx | while read file; do
  first_usage=$(grep -n "<Partial" "$file" | head -1 | cut -d: -f1)
  if [ -n "$first_usage" ]; then
    last_import=$(grep -n "^import.*from.*\.mdx" "$file" | tail -1 | cut -d: -f1)
    if [ -n "$last_import" ] && [ "$first_usage" -lt "$last_import" ]; then
      echo "PROBLEM: $file - Usage line $first_usage, Last import line $last_import"
    fi
  fi
done

Repository: langflow-ai/langflow

Length of output: 5947


🏁 Script executed:

# Check if Docusaurus MDX automatically hoists imports or requires them at top
cat docs/package.json | grep -i "mdx\|remark\|rehype" -A 2 -B 2

Repository: langflow-ai/langflow

Length of output: 250


🏁 Script executed:

# Check for imports after markdown content in bundle files - corrected approach
for file in docs/docs/Components/bundles-*.mdx; do
  first_usage=$(grep -n "<Partial" "$file" 2>/dev/null | head -1 | cut -d: -f1)
  if [ -n "$first_usage" ]; then
    last_import=$(grep -n "^import.*from.*\.mdx" "$file" 2>/dev/null | tail -1 | cut -d: -f1)
    if [ -n "$last_import" ] && [ "$first_usage" -lt "$last_import" ]; then
      echo "PROBLEM: $(basename $file) - Usage line $first_usage, Last import line $last_import"
    fi
  fi
done

Repository: langflow-ai/langflow

Length of output: 463


🏁 Script executed:

# Check MDX behavior in Docusaurus - look for documentation or comments about import handling
cat docs/docusaurus.config.js | grep -A 20 "presets:\|mdx\|markdown"

Repository: langflow-ai/langflow

Length of output: 2044


🏁 Script executed:

# Look at how MDX files with top imports are structured in the current version
for file in docs/docs/Components/bundles-anthropic.mdx docs/docs/Components/bundles-agentics.mdx; do
  echo "=== $(basename $file) ==="
  head -15 "$file"
done

Repository: langflow-ai/langflow

Length of output: 1438


🏁 Script executed:

# Check if these files with imports-after-usage are actually in the deployed/built site
ls -la docs/versioned_docs/version-1.10.0/Components/ | grep -E "bundles-(amazon|cometapi|datastax|google|langchain|redis)"

Repository: langflow-ai/langflow

Length of output: 490


🏁 Script executed:

# Verify the actual behavior - check if Docusaurus/MDX successfully processes these files
# by looking at build logs or checking if the imports are required to be at top
git log --oneline docs/docs/Components/bundles-redis.mdx | head -5

Repository: langflow-ai/langflow

Length of output: 132


🏁 Script executed:

# Check if there's any linting config for MDX file structure
find docs -name ".eslintrc*" -o -name ".prettierrc*" -o -name "package.json" | xargs grep -l "mdx\|import" 2>/dev/null | head -3

Repository: langflow-ai/langflow

Length of output: 82


🏁 Script executed:

# Check ESLint or Prettier config in docs directory for MDX import rules
cat docs/package.json | jq '.eslintConfig, .prettier' 2>/dev/null || echo "No ESLint/Prettier in package.json"

Repository: langflow-ai/langflow

Length of output: 74


🏁 Script executed:

# Look for eslint config files
find docs -maxdepth 2 -name ".eslintrc*" -o -name "eslint.config.*"

Repository: langflow-ai/langflow

Length of output: 46


🏁 Script executed:

# Verify that MDX imports are hoisted by checking MDX/Docusaurus documentation reference
# by examining how `@mdx-js/react` handles imports
cat docs/package.json | grep -A 5 "scripts"

Repository: langflow-ai/langflow

Length of output: 249


🏁 Script executed:

# Check if there's any build/linting script that processes MDX files
cat docs/package.json | head -40

Repository: langflow-ai/langflow

Length of output: 1276


Move PartialLfxBundlesInstall import to the top import block for consistency.

Line 66 declares the import after markdown content and after usage on line 14. While MDX automatically hoists imports during compilation, keeping imports at the top of the file follows the established convention in the codebase (see bundles-agentics.mdx, bundles-aiml.mdx, etc.) and improves maintainability.

Suggested fix
 import Icon from "`@site/src/components/icon`";
 import PartialParams from '`@site/docs/_partial-hidden-params.mdx`';
+import PartialLfxBundlesInstall from '`@site/docs/_partial-bundle-lfx-bundles-install.mdx`';
@@
 import PartialConditionalParams from '`@site/docs/_partial-conditional-params.mdx`';
-import PartialLfxBundlesInstall from '`@site/docs/_partial-bundle-lfx-bundles-install.mdx`';
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/docs/Components/bundles-redis.mdx` at line 66, The
PartialLfxBundlesInstall import statement is currently placed at line 66 after
markdown content and after its usage, which violates the established convention
of keeping all imports at the top of the file. Remove the import statement for
PartialLfxBundlesInstall from line 66 and move it to the top import block with
the other import statements to match the pattern used in similar files like
bundles-agentics.mdx and bundles-aiml.mdx for better maintainability and
consistency.

Comment on lines +38 to +40
:::note
The `src/lfx/src/lfx/components` path is frozen for new providers. To add new provider integrations that others can install, create a [distributable bundle](/contributing-bundles) instead. The default path is intended for personal customizations and internal-use components only.
:::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use an allowed admonition type instead of note.

Please replace :::note with one of the allowed admonitions (:::tip, :::warning, or :::danger) per the docs style rules.

Suggested fix
-:::note
+:::warning
 The `src/lfx/src/lfx/components` path is frozen for new providers. To add new provider integrations that others can install, create a [distributable bundle](/contributing-bundles) instead. The default path is intended for personal customizations and internal-use components only.
 :::

As per coding guidelines: “Use admonitions (:::tip, :::warning, :::danger) for highlighting helpful tips, potential issues, and critical warnings respectively.”

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
:::note
The `src/lfx/src/lfx/components` path is frozen for new providers. To add new provider integrations that others can install, create a [distributable bundle](/contributing-bundles) instead. The default path is intended for personal customizations and internal-use components only.
:::
:::warning
The `src/lfx/src/lfx/components` path is frozen for new providers. To add new provider integrations that others can install, create a [distributable bundle](/contributing-bundles) instead. The default path is intended for personal customizations and internal-use components only.
:::
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/docs/Components/components-custom-components.mdx` around lines 38 - 40,
The admonition type `:::note` is not allowed per documentation style guidelines.
Replace the `:::note` admonition marker with one of the allowed types: `:::tip`,
`:::warning`, or `:::danger`. Choose the type that best fits the content context
(in this case, the note about the frozen path and recommendation to use
distributable bundles instead).

Source: Coding guidelines

@mendonk

mendonk commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #13775

@mendonk mendonk closed this Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants