Add missing-redirects check mention to redirects and slug pages #5177
Add missing-redirects check mention to redirects and slug pages
#5177
Conversation
|
Requested by: devin |
| missing-redirects: error | ||
| ``` | ||
|
|
||
| The check requires authentication via `fern login` or the `FERN_TOKEN` environment variable. It is skipped on first publish, when unauthenticated, or when the network is unavailable. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'it's' instead of 'It is'.
|
🌿 Preview your docs: https://fern-preview-fern-add-missing-redirects-check-mention.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
| Errors below are surfaced by `fern check` and `fern generate --docs`. | ||
|
|
||
| ### Page "X" was moved from "/old" to "/new". The old URL will return 404 without a redirect. | ||
| ### Page "X" was moved from "/old" to "/new". The old URL will return 404 without a redirect. Consider adding a redirect in docs.yml to preserve existing links. |
There was a problem hiding this comment.
[FernStyles.Current] Avoid time-relative terms like 'old' that become outdated
| Errors below are surfaced by `fern check` and `fern generate --docs`. | ||
|
|
||
| ### Page "X" was moved from "/old" to "/new". The old URL will return 404 without a redirect. | ||
| ### Page "X" was moved from "/old" to "/new". The old URL will return 404 without a redirect. Consider adding a redirect in docs.yml to preserve existing links. |
There was a problem hiding this comment.
[FernStyles.Current] Avoid time-relative terms like 'old' that become outdated
| Errors below are surfaced by `fern check` and `fern generate --docs`. | ||
|
|
||
| ### Page "X" was moved from "/old" to "/new". The old URL will return 404 without a redirect. | ||
| ### Page "X" was moved from "/old" to "/new". The old URL will return 404 without a redirect. Consider adding a redirect in docs.yml to preserve existing links. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[FernStyles.HeadingPunctuation] Don't use end punctuation in headings.
| ``` | ||
|
|
||
| ### Page "X" was removed. The previously published URL "/old" will return 404 without a redirect. | ||
| ### Page "X" was removed. The previously published URL "/old" will return 404 without a redirect. Consider adding a redirect in docs.yml to preserve existing links. |
There was a problem hiding this comment.
[FernStyles.Current] Avoid time-relative terms like 'old' that become outdated
| ``` | ||
|
|
||
| ### Page "X" was removed. The previously published URL "/old" will return 404 without a redirect. | ||
| ### Page "X" was removed. The previously published URL "/old" will return 404 without a redirect. Consider adding a redirect in docs.yml to preserve existing links. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[FernStyles.HeadingPunctuation] Don't use end punctuation in headings.
Summary
Adds a mention of the
missing-redirectscheck rule to the redirects page and the configuring-slugs page, so users discover the feature when reading about redirects and slug customization.Changes
fern/products/docs/pages/seo/redirects.mdx): Added a new "Catching missing redirects" section describing themissing-redirectsrule forfern check, with a code example and links to the full check configuration.fern/products/docs/pages/seo/configuring-slugs.mdx): Added a<Note>callout reminding users that changing a slug updates the page URL and they should runfern checkto catch missing redirects.Requested by: Fern Support