Skip to content

revert: remove docs restructure from MCP auth PR#1672

Merged
saddlepaddle merged 1 commit into
mainfrom
revert-docs-task
Feb 22, 2026
Merged

revert: remove docs restructure from MCP auth PR#1672
saddlepaddle merged 1 commit into
mainfrom
revert-docs-task

Conversation

@saddlepaddle
Copy link
Copy Markdown
Collaborator

@saddlepaddle saddlepaddle commented Feb 22, 2026

Summary

Test plan

  • Docs site builds without the removed pages
  • Navigation sidebar renders correctly with original structure

Summary by CodeRabbit

  • Documentation
    • Reorganized documentation navigation structure with updated page ordering and grouping.
    • Removed documentation pages covering parallel agents, task management, and workflow.
    • Added new documentation pages for terminal presets and customization.
    • Simplified overview page with concise high-level introduction.
    • Updated default documentation entry point to installation page.
    • Improved documentation link behavior to consistently open in new tabs.

The docs restructure (new MDX pages, overview rewrite, meta.json
reorganization, redirect changes) was part of a separate docs task
that was accidentally included in the MCP auth flakiness PR (#1608).

This reverts only the docs-task-specific changes:
- Remove workflow.mdx, task-management.mdx, parallel-agents.mdx
- Restore overview.mdx, meta.json, agent-integration.mdx to original
- Restore next.config.mjs redirect to /installation
- Restore ResourceCard to use target="_blank" for all links

MCP-related changes (mcp.mdx, get_workspace_details, etc.) are kept.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 22, 2026

📝 Walkthrough

Walkthrough

This pull request restructures the documentation by deleting three pages (parallel-agents, task-management, workflow), reorganizing page navigation in meta.json, updating the overview with generalized content, adjusting navigation redirects to point to installation instead of overview, and simplifying a component to unconditionally set external link attributes.

Changes

Cohort / File(s) Summary
Documentation Deletions
apps/docs/content/docs/parallel-agents.mdx, apps/docs/content/docs/task-management.mdx, apps/docs/content/docs/workflow.mdx
Three documentation pages removed entirely; no functional code changes.
Navigation Reorganization
apps/docs/content/docs/meta.json
Pages reordered and reorganized; "overview" moved after "installation"; removed "parallel-agents", "task-management", "workflow" entries; added "terminal-presets" and "customization"; removed Lightbulb Tips section header.
Documentation Content Updates
apps/docs/content/docs/agent-integration.mdx, apps/docs/content/docs/overview.mdx
agent-integration simplified with removed contextual guidance and Next Steps subsection; overview rewritten from product-specific to general high-level introduction with Key Features and How It Works sections.
Routing Configuration
apps/docs/next.config.mjs
Redirect destinations updated from "/overview" to "/installation" for root path and "/docs" path.
Component Simplification
apps/docs/src/components/ResourceCard/ResourceCard.tsx
Removed dynamic external-link detection logic; unconditionally sets target="_blank" and rel="noopener noreferrer" on anchor elements.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hops through docs with glee,
Pages shuffled, clean and free,
Old paths cleared, new ones bloom,
Installation lights the room!
Simpler flows, cleaner sight,
Reorganized, just right! ✨

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive The pull request description provides a clear summary of changes, specifics about which files are removed and restored, and a test plan, but does not follow the provided template structure. Consider reformatting the description to match the repository template with sections for Description, Related Issues, Type of Change, Testing, Screenshots, and Additional Notes for consistency.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title clearly and specifically describes the main change: reverting documentation restructuring changes that were accidentally included in a previous PR.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch revert-docs-task

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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

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

⚠️ Outside diff range comments (1)
apps/docs/src/components/ResourceCard/ResourceCard.tsx (1)

29-33: ⚠️ Potential issue | 🟡 Minor

Consider adding a type constraint to prevent internal hrefs from being passed to ResourceCard.

With href typed only as string, the component could receive internal paths (e.g., /installation) that would unexpectedly open in a new tab. The component name and ArrowUpRight icon indicate external-only use. Consider using a branded string type (e.g., ExternalUrl) or runtime validation to enforce this constraint.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/docs/src/components/ResourceCard/ResourceCard.tsx` around lines 29 - 33,
The ResourceCard is allowing any string for the href prop which can let internal
paths open in a new tab; update the ResourceCard prop type (where href is
declared) to require an external-only type (e.g., a branded ExternalUrl type or
union like HttpUrl) and add a small runtime guard in the ResourceCard render
(check that href starts with "http://" or "https://") to refuse or fallback for
non-external values; update any callers to produce the branded ExternalUrl or
validate inputs before passing to ResourceCard and ensure the anchor keeps
target="_blank" only for validated external hrefs.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@apps/docs/src/components/ResourceCard/ResourceCard.tsx`:
- Around line 29-33: The ResourceCard is allowing any string for the href prop
which can let internal paths open in a new tab; update the ResourceCard prop
type (where href is declared) to require an external-only type (e.g., a branded
ExternalUrl type or union like HttpUrl) and add a small runtime guard in the
ResourceCard render (check that href starts with "http://" or "https://") to
refuse or fallback for non-external values; update any callers to produce the
branded ExternalUrl or validate inputs before passing to ResourceCard and ensure
the anchor keeps target="_blank" only for validated external hrefs.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 22, 2026

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch
  • ✅ Electric Fly.io app

Thank you for your contribution! 🎉

@saddlepaddle saddlepaddle merged commit d42d762 into main Feb 22, 2026
14 checks passed
@Kitenite Kitenite deleted the revert-docs-task branch March 2, 2026 18:45
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.

1 participant