Update redirects to use new default permanent behavior #1277
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.
Update redirects to use new default permanent behavior
Summary
This PR updates the redirect configuration to align with the platform change in fern-api/fern-platform#4141, which changed the default redirect behavior from temporary (307) to permanent (308).
Changes:
permanent: truefromfern/docs.ymlsince it's now the defaultpermanent: falsefor temporary redirectsReview & Testing Checklist for Human
fern/snippets/redirects.mdxto ensure it's clear for usersfern checkor similar validation if availableNotes
Link to Devin run: https://app.devin.ai/sessions/405d220e4a32404b99f5fbe39d807bb0
Requested by: [email protected] (@dannysheridan)
Deployment dependency: This PR has a hard dependency on the fern-platform PR being deployed first. The platform code change must be live before these config changes go live, otherwise all existing redirects will break.
No behavioral change for existing redirects: Since all redirects in docs.yml already had
permanent: trueexplicitly set, this change maintains the current behavior while removing redundant configuration.