Skip to content

RP-5073: Fix Previews tab sidebar navigation#201

Merged
mblaurens merged 1 commit intomainfrom
rp-5073-fix
Mar 11, 2026
Merged

RP-5073: Fix Previews tab sidebar navigation#201
mblaurens merged 1 commit intomainfrom
rp-5073-fix

Conversation

@mblaurens
Copy link
Contributor

Summary

  • Moves preview content from api-reference/preview/ to top-level preview/ directory
  • Fixes sidebar navigation inconsistency where the Previews tab would sometimes show API Reference sidebar options
  • Adds redirects from old paths for backwards compatibility

Root Cause

Both the API Reference and Previews tabs had pages under the api-reference/ path prefix, causing Mintlify to inconsistently match URLs to either tab.

Test plan

🤖 Generated with Claude Code

Fixes sidebar navigation inconsistency where the Previews tab would
sometimes show API Reference sidebar options instead. The issue was
caused by path namespace collision - both tabs had pages under
api-reference/.

- Move preview/ out of api-reference/ to its own top-level directory
- Update docs.json navigation paths for Previews tab
- Add redirect from old api-reference/preview/* paths for backwards compatibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mblaurens mblaurens merged commit 099cfa1 into main Mar 11, 2026
6 checks passed
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