This repository was archived by the owner on May 29, 2026. It is now read-only.
Redirect legacy docs.flox.dev to flox.dev/docs#489
Closed
Kaysahni wants to merge 1 commit into
Closed
Conversation
The new Mintlify docs live at flox.dev/docs. Point this legacy MkDocs site there with permanent (301) redirects instead of serving stale content. - Path-preserving /docs/* -> flox.dev/docs/:splat (93/99 legacy URLs resolve 1:1 on the new site). - Explicit mappings for two pages renamed/removed in the migration: flox-build-update-catalogs -> flox-build, nix-builds.toml -> manifest.toml. - Everything else -> the docs home. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
|
handled by https://github.com/flox/deltaops/pull/700 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
docs.flox.devstill serves the old MkDocs docs (this site,floxdocs.netlify.app). The new Mintlify docs live atflox.dev/docs. Per Tanja, we want a 301 so the legacy subdomain forwards to the new home.Change
Replaces the single
/* → /docs/(302) rule with permanent (301) redirects toflox.dev/docs:/docs/* → https://flox.dev/docs/:splat. I tested all 99 URLs from the old sitemap against the new site — 93 resolve 1:1 (the new site's legacy redirect rules + Mintlify handle them)./docs/man/flox-build-update-catalogs→/docs/man/flox-build/docs/man/nix-builds.toml→/docs/man/manifest.tomlhttps://flox.dev/docs.The remaining 4 of the 99 are former MkDocs
include//snippets/partials that were never real pages, so no user-facing 404s.Verify after deploy
curl -I https://docs.flox.dev/→ 301 →https://flox.dev/docscurl -I https://docs.flox.dev/docs/install-flox/install/→ 301 →https://flox.dev/docs/install-flox/install(200)curl -I https://docs.flox.dev/docs/man/flox-build-update-catalogs/→ 301 →/docs/man/flox-buildNote: the
flox/flox→floxdocsrelease sync only touches doc content, notnetlify.toml, so this redirect should persist until FLO-53 retires this site.