Skip to content

Add Mintlify redirects configuration#1731

Merged
johndmulhausen merged 1 commit into
mintlify-importfrom
redirects-mintlify
Oct 21, 2025
Merged

Add Mintlify redirects configuration#1731
johndmulhausen merged 1 commit into
mintlify-importfrom
redirects-mintlify

Conversation

@johndmulhausen

Copy link
Copy Markdown
Contributor

Summary

This PR adds the necessary redirects configuration for Mintlify to the docs.json file.

Changes

  • Added redirects array to docs.json with comprehensive redirect rules
  • Includes redirects for:
    • Models documentation paths
    • Guides and tutorials
    • Platform and app paths
    • Japanese and Korean localized content
    • Launch documentation
    • Weave documentation paths

Purpose

These redirects ensure that users accessing old URLs are properly redirected to the new Mintlify documentation structure, maintaining link integrity and improving user experience during the migration.

@johndmulhausen johndmulhausen requested a review from a team as a code owner October 20, 2025 21:21
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: a17d17d
Status:🚫  Build failed.

View logs

@github-actions

Copy link
Copy Markdown
Contributor

📚 Mintlify Preview Links

🔗 View Full Preview

📝 Changed (1 total)

⚙️ Other (1)
File
docs.json

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: a17d17d at 2025-10-20 21:23:48 UTC

@ngrayluna

Copy link
Copy Markdown
Contributor

How where these tested?

@johndmulhausen johndmulhausen merged commit c99cfc8 into mintlify-import Oct 21, 2025
4 of 6 checks passed
@johndmulhausen johndmulhausen deleted the redirects-mintlify branch October 21, 2025 15:18
mdlinville added a commit that referenced this pull request Oct 21, 2025
The redirects were working correctly, but internal links in files were still pointing to the old paths. When Mintlify validates links, it sees these as broken because the paths now redirect elsewhere.

Fixed 90+ broken links by updating all internal references to use the new paths:
- /quickstart/ -> /models/quickstart/
- /tutorials/* -> /models/tutorials/*
- /guides/* -> /models/* or /platform/*
- /ref/ -> /models/ref/python/
- And many more path updates

Used git bisect to identify the problematic commit (c99cfc8) and systematically fixed all affected links.
mdlinville added a commit that referenced this pull request Oct 21, 2025
## Description

#1731 removed a bunch of redirects, which seem to have been masking
broken links especially in localized content. Fix them.
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