fix: redirect three legacy DoltHub links that 404 in production#126
Merged
Conversation
These are external links (marketing site / blog / third-party) that still point at pre-migration URLs and 404 through our existing _redirects catch-alls: - /docs/guides/installation(/*) — old GitBook path; canonical is /docs/introduction/installation. - /docs/sql-reference/supported-clients/spreadsheets — the source page was removed upstream as out of date (dolthub/docs@8343826) with no replacement; send it to the Supported Clients index instead of 404. - /docs/products/dolthub/api/sql — moved under v1alpha1/ when v2 was introduced. The retool-feature-flag-app-export.json blog resource from the same report is left alone — that's a missing blog asset, not a docs URL. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
site/dolt/_redirectsfor external links (marketing site / blog / third-party) that still point at pre-migration URLs and currently 404:/docs/guides/installation(+/*subpaths) →/docs/introduction/installation— the old GitBook site's redirect config still points here, but this path never existed on the new site./docs/sql-reference/supported-clients/spreadsheets→/docs/sql-reference/supported-clients— source page was deliberately removed upstream as out of date (dolthub/docs@8343826), no replacement page exists./docs/products/dolthub/api/sql→/docs/products/dolthub/api/v1alpha1/sql— page moved underv1alpha1/when v2 was introduced.retool-feature-flag-app-export.jsonblog resource, is intentionally left alone — it's a missing blog asset, not a docs URL.Test plan
npm run build:doltsucceedsdist/_redirectscontains the new rules ahead of the existing/docs/reference/sql/*catch-all (no rule-ordering conflicts)docs.dolthub.com) still redirects/guides/installation→www.dolthub.com/docs/guides/installationdolthub/docsrepo history that the spreadsheets page was removed intentionally and the APIsqlpage was renamed intov1alpha1/🤖 Generated with Claude Code