Repository navigation
chore(docs): redirect the old Vercel docs URL to GitHub Pages - #350
Merged
Merged
Conversation
The docs now deploy to https://starknet-io.github.io/get-starknet. Turn the Vercel project into a permanent (308) redirect from get-starknet.starknet-react.com to the same path there, so existing links keep working. Vercel no longer installs or builds anything; it only needs a non-empty output directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adrienlacombe
force-pushed
the
claude/docs-vercel-redirect
branch
from
October 29, 2026 19:22
8e76d3f to
be382a6
Compare
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.
Turns the Vercel project behind
get-starknet.starknet-react.cominto a permanent redirect to https://starknet-io.github.io/get-starknet, so existing links keep working after the move to GitHub Pages (#348).The Pages site is live
Checked just before opening this PR:
build_type: workflow,status: built, HTTPS enforced. TheDocspush run for371838dsucceeded./get-starknet/,/get-starknet/llms.txtand/get-starknet/getting-started.md(text/markdown) return 200./get-starknet/getting-started301s to its trailing-slash URL.Change
Only
vercel.json:"source": "/:path(.*)","permanent": true).framework: null(Vercel's "Other" preset), andinstallCommand: ""skips the install, as Vercel's docs describe.dist/index.html. Vercel rejects an empty output directory (STATIC_BUILD_EMPTY_OUT_DIR), and the catch-all redirect runs before any file is served, so the placeholder never shows.Verification
vercel build(Vercel CLI 65.7.0) on a copy of this branch, with a placeholder project link and no login. It succeeds without installing dependencies. The generated routing is one 308 rule (^(?:/(.*))$→https://starknet-io.github.io/get-starknet/$1) that runs before any file lookup./→/get-starknet//getting-startedand/getting-started/→ the same path under/get-starknet//core/createStore,/demo/ui,/llms.txt,/getting-started.md→ the same path under/get-starknet//a%20b) are kept as-is./:path(.*): the first version used/:path*, which didn't match/or trailing-slash paths.vercel buildalso rejected an empty output directory. Both are fixed here.masterget-starknet.starknet-react.comstill serves the vocs 1 build (last-modified: 18:43 UTC), although #347 and #348 merged at 19:15 and 19:17 UTC. Vercel posts no status on this repo's commits, so from GitHub I can't tell whether its builds of those merges failed or its Git integration no longer deploysmaster.Someone with access to the
starknet-react.comVercel account needs to:https://get-starknet.starknet-react.com/getting-startedreturns a 308 to the new URL, redeploying if needed.Outside this PR
vercel.jsonand the.vercelline in.gitignore. Old links stop working at that point.🤖 Generated with Claude Code