Skip to content

docs: remove stale rpk ai partials from the llm/mcp rename - #1849

Merged
JakeSCahill merged 1 commit into
mainfrom
remove-stale-rpk-ai-partials
Jul 31, 2026
Merged

docs: remove stale rpk ai partials from the llm/mcp rename#1849
JakeSCahill merged 1 commit into
mainfrom
remove-stale-rpk-ai-partials

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

The rpai plugin renamed llmllm-provider and mcpmcp-server. Regeneration replaced the partials under the new names, but the stale-file cleanup in the doc-tools version current at the time missed two files, leaving partials for commands that no longer exist:

  • modules/reference/partials/rpk-ai/rpk-ai-llm.adoc
  • modules/reference/partials/rpk-ai/rpk-ai-mcp-create.adoc

Verified against main's committed rpk snapshot (rpk-v26.2.1-rc2.json): of the 102 rpk-ai partials, these are the only two with no matching command in the rpk ai subtree, and nothing in modules/ or docs-data/ includes or links them.

(Newer doc-tools sweeps these automatically — docs-extensions-and-macros#225's runs delete them as stale — but removing them now keeps the tree clean regardless of merge order.)

Related PRs (rpk docs automation train)

PR Role Depends on
redpanda-data/docs-extensions-and-macros#225 Generator: --plugin mode, change detection, deprecations, What's-new merge, flag extraction, stub reconciler (publishes doc-tools 5.3.0)
#1834 Receiver workflow for plugin-release dispatches #225
#1844 Release workflow: auto What's-new diff base + pre-GA plugin pins #225
#1849 Removes two stale rpk ai partials merge before #1852/adp-docs#165 activate
#1852 Sender: docs main → adp-docs stub sync dispatch #225, adp-docs#165
redpanda-data/adp-docs#165 Receiver: reconciles rpk ai stubs and nav #225, docs#1852
Senders (merged/open) redpanda-data/connect#4636, redpanda-operator#1703 (merged), redpanda-check#10, cloudv2#28552 docs#1834

Merge order: #225 → dependency bumps on docs main and beta → #1834 + #1844 (+ #1849) → #1852 + adp-docs#165 → remaining senders. Jira: DOC-2355, DOC-1090.

The rpai plugin renamed llm to llm-provider and mcp to mcp-server. The
regeneration replaced the partials with the new names but the cleanup
in the doc-tools version current at the time missed these two, leaving
partials for commands that no longer exist. Nothing includes or links
them. Verified against the committed rpk snapshot: these are the only
two rpk-ai partials with no matching command.
@JakeSCahill
JakeSCahill requested a review from a team as a code owner July 29, 2026 15:00
@netlify

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 163bab9
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a6a157c14ad32000840c85d
😎 Deploy Preview https://deploy-preview-1849--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (2)
  • modules/reference/partials/rpk-ai/rpk-ai-llm.adoc
  • modules/reference/partials/rpk-ai/rpk-ai-mcp-create.adoc
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 121ecb10-6f71-4101-bba4-2bc6b676c934

📥 Commits

Reviewing files that changed from the base of the PR and between 4e47021 and 163bab9.

📒 Files selected for processing (2)
  • modules/reference/partials/rpk-ai/rpk-ai-llm.adoc
  • modules/reference/partials/rpk-ai/rpk-ai-mcp-create.adoc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

JakeSCahill added a commit to redpanda-data/adp-docs that referenced this pull request Jul 29, 2026
rpk-ai-llm-provider.adoc declares rpk-ai-llm.adoc as a page alias, and
Antora fails the build when an alias target resolves to a live page.
Delete the stub and its nav entry, matching how rpk-ai-mcp.adoc was
handled. The matching stale upstream partial is removed in
redpanda-data/docs#1849.
@micheleRP

Copy link
Copy Markdown
Contributor

No findings. Confirmed both partials are still present on main (102 files in modules/reference/partials/rpk-ai/) and that nothing references them in docs, cloud-docs, or adp-docs, apart from the two :page-aliases: entries in adp-docs that make this removal necessary.

Worth stating in the PR body that this is a hard prerequisite rather than tidy-up: while these two partials exist on main, the adp-docs stub reconciliation in redpanda-data/adp-docs#165 generates stubs whose names are already alias targets there, and the adp-docs build fails with Page alias cannot reference an existing page. Detail is on that PR.

@micheleRP micheleRP 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.

Approving. Verified nothing else references either partial, and this is a prerequisite for the adp-docs stub sync rather than tidy-up. Detail in my comment above.

@JakeSCahill
JakeSCahill merged commit 1c0559d into main Jul 31, 2026
7 checks passed
@JakeSCahill
JakeSCahill deleted the remove-stale-rpk-ai-partials branch July 31, 2026 10:29
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.

2 participants