Skip to content

Document --check-redirects flag for mint broken-links#5496

Merged
mayankshouche merged 1 commit intomainfrom
mintlify/broken-links-check-redirects-1776902608
Apr 23, 2026
Merged

Document --check-redirects flag for mint broken-links#5496
mayankshouche merged 1 commit intomainfrom
mintlify/broken-links-check-redirects-1776902608

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 23, 2026

Summary

Adds documentation for the new --check-redirects flag on mint broken-links. When set, the command also verifies that redirect destinations configured in docs.json resolve to valid paths in the site, surfacing any broken redirects alongside other broken links.

Triggering PR

Shipped in the upstream CLI release that introduced the option to check redirect destinations in the broken-links command.

Changes

  • cli/commands.mdx: added --check-redirects to the mint broken-links flag table.

Note

Low Risk
Low risk documentation-only change: adds a single flag entry with no functional or behavioral impact.

Overview
Documents the new --check-redirects option for mint broken-links, noting that it validates redirect destinations in docs.json and reports broken redirects alongside broken links.

Reviewed by Cursor Bugbot for commit ada6958. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 23, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 23, 2026, 12:08 AM

@mintlify-development
Copy link
Copy Markdown
Contributor

mintlify-development Bot commented Apr 23, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟢 Ready View Preview Apr 23, 2026, 1:25 AM

@mayankshouche mayankshouche merged commit b244e4f into main Apr 23, 2026
6 checks passed
@mayankshouche mayankshouche deleted the mintlify/broken-links-check-redirects-1776902608 branch April 23, 2026 04:18
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.

3 participants