Conversation
This reverts commit e7ea679.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
## Summary - restore the pre-migration homepage structure and Nextra-inspired color palette - remove Blog entry points from the navigation and homepage while preserving archive routes - retain Rspress-generated outline metadata and accessible navigation labels ## Why The Rspress migration configured the landing page as `pageType: home`, which replaced the existing MDX body with Rspress's marketing homepage treatment. It also restored Blog links that should remain archival only. This brings the site back in line with the previous SWC design while keeping the migration's documentation behavior. ## Validation - `corepack pnpm --filter swc-site build` - rendered homepage assertions for a single H1, expected sections, package-manager tabs, and no visible Blog links - archive output assertions for the existing Blog routes - generated homepage outline assertions - `git diff --check` - `autoreview clean`
Review: Migrate to rspressReviewed the diff (145 files, +4291/-2785) that replaces the Next.js + Nextra 4 docs site with Rspress v2. Overall this is a well-executed migration — the A couple of things worth double-checking before merge: 1.
|
…322) ## Summary Polish the Rspress migration while preserving key website behavior and improving the documentation experience. ## Changes 1. Fix the Playground route by using the correct custom `pageType`. 2. Migrate the current Nextra-based swc.rs design to a custom Rspress theme, keeping the visual style as close as possible with the [`rspress-custom-theme` skill](https://github.com/rstackjs/agent-skills/blob/main/skills/rspress-custom-theme/SKILL.md), and add a fully redesigned homepage. 3. Enable `llms: true` to generate LLM-friendly site outputs. 4. Replace package-manager installation snippets with [`PackageManagerTabs`](https://rspress.rs/api/client-api/api-components/package-manager-tabs).
## Summary - center the homepage while preserving its on-page outline - hide Blog from the primary navigation without removing blog routes ## Why Rspress reserves different widths for the hidden left sidebar and visible right outline, shifting the homepage content left. The homepage now mirrors the outline rail on desktop so its content stays centered without affecting documentation pages. ## Validation - `pnpm --filter swc-site build` - `pnpm exec prettier --check apps/website/docs/index.mdx apps/website/docs/_nav.json apps/website/src/styles/index.css` - generated HTML confirms the outline remains and Blog is absent from navigation Repo-wide `turbo run lint test` remains blocked in the untouched plugins app by `@next/next/no-html-link-for-pages`: `The "path" argument must be of type string. Received undefined`.
This reverts commit e7ea679.