Fix malformed SDK changelog redirects and close docs gaps found in 30-day analytics - #6605
Draft
fern-api[bot] wants to merge 1 commit into
Draft
Fix malformed SDK changelog redirects and close docs gaps found in 30-day analytics#6605fern-api[bot] wants to merge 1 commit into
fern-api[bot] wants to merge 1 commit into
Conversation
|
|
||
| ## Moving to a new custom domain | ||
|
|
||
| The `redirects` configuration in `docs.yml` is **path-based only**. The `source` property must be a relative path, not an absolute URL, so you cannot redirect one domain to another with a `redirects` entry. |
Contributor
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'can't' instead of 'cannot'.
Contributor
|
🌿 Preview your docs: https://fern-preview-2026-08-12-fern-ai-1fb7a4-06e524e7.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
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.
Data-driven docs fixes from 30 days of analytics, 404 logs, Ask AI unresolved conversations, and reader feedback.
docs.yml
/learn/api-definitions/protobuf/:slug*->/learn/api-definitions/grpc/:slug*. The bare path logged 404s on live traffic; the Protobuf content lives under/learn/api-definitions/grpc/.:slug*in the destination. A bare:slug*cannot hold a value containing/, so these resolved to the literal text:slug*in the URL — the exact failure mode documented on our own redirects page. Changed to:slug(.*)in both source and destination. Only the Python one appeared in the 404 log; the other six are the same latent bug on quieter paths.seo/redirects.mdx
Add a "Moving to a new custom domain" section and rework the subtitle. A reader asked Ask AI how to forward an old custom domain to a new one and got nothing across three turns — even after saying "This docs site is specifically about redirects." The page never used the words "domain" or "forward traffic", so retrieval missed it entirely. The new section states that redirects are path-based only, and points domain-level forwarding at DNS / reverse proxy or Fern domain aliases.
navigation/tabs.mdx
Document that the
theme.tabsobject form requires Fern CLI 4.44.0+, and that the string shorthand works on all versions. Two readers hittheme.tabspublish failures within two days.sdks/generators/python/configuration.mdx
Add a License section covering the
pyproject_tomlinjection workaround.fern-python-sdkhas no dedicatedlicensekey, unlike the Java generator'smetadata.license; two Ask AI conversations on this went unresolved.Reviewer notes
Two things to check before this leaves draft:
/learn/api-definitions/protobufredirect already existed in docs.yml, yet that path still logged 404s in the last 30 days. Either it was added after those hits, or it is not firing. Worth confirming which before treating that 404 as fixed.Not addressed here (product bugs, not docs)
theme.tabsobject config at the ledger publish step. One affected user was on CLI 5.93.0 withfern checkpassing 0 errors, and had nolocalesblock despite the error naminglocales.0. The docs change here only records the version floor; it does not fix this./learnprefix (and in one case corrupting the slug:preview-thpublish). Both substantive unhelpful votes in the last 30 days are this.