Migrate website to Rspress and Zephyr#320
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@zackarychapple is attempting to deploy a commit to the SWC Project Team on Vercel. A member of the Team first needs to authorize it. |
|
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
/docs/getting-started/getting-started.htmlURL.buildscript so Zephyr builds theswc-sitepackage without running the unrelated plugins app Turbo build.Why
Zephyr needs the Rspress SSG output to include all static files. The site now builds with
ssg: true, useszephyr-rspress-plugin, and deploys the rendereddoc_buildoutput.The broad client redirect rule for
/docswas also rewriting valid docs paths into nested paths like/docs/getting-started/getting-started.html; the redirect patterns are now exact-path regexes, and that nested path has a real static redirect file for compatibility.Validation
pnpm build/docs/getting-started/getting-started.htmlredirects to/docs/getting-started.htmland renders the Getting Started page.