Repository navigation
Update from code changes: delete previews from a previous repository - #7925
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
ethanpalm
reviewed
Oct 22, 2026
ethanpalm
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a bullet to the preview lifetime section explaining what happens to previews after you change the repository in your Git settings.
Previews built from the previous repository already stopped updating; Mintlify now deletes them automatically after 7 days, unless you switch back to the original repository first. The page previously said manual previews stay live until you delete them.
Based on a merged backend change titled "Delete orphaned preview deployments after 7 days", which adds the 7-day grace period and automatic cleanup.
Duplicate check: open docs PRs by the author, Ethan Palm, mintlify[bot] and with "preview" in the title, plus docs merges since Oct 19. The open fork-preview PR edits a different section of the same page.
Note
Low Risk
Documentation-only change describing preview cleanup behavior; no code or runtime impact.
Overview
Documents preview lifetime when you change the connected Git repository: previews from the old repo stop updating, Mintlify auto-deletes them after seven days, and switching back to the original repo before that deadline preserves those previews.
This new bullet sits alongside the existing automatic, manual, and delete-preview rules in
deploy/preview-deployments.mdx, aligning docs with backend cleanup of orphaned preview deployments.Reviewed by Cursor Bugbot for commit e2b4350. Bugbot is set up for automated code reviews on this repo. Configure here.