Skip to content

d2m#1518

Merged
thinkasany merged 15 commits into
mainfrom
dev
Jan 15, 2026
Merged

d2m#1518
thinkasany merged 15 commits into
mainfrom
dev

Conversation

@thinkasany

Copy link
Copy Markdown
Collaborator

No description provided.

renovate Bot and others added 15 commits January 13, 2026 10:44
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: marchantweb <simon@marchantweb.com>
Co-authored-by: mdong1909 <mdong1909@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Co-authored-by: Michael Dong <220303712+mdong1909@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 7f01a8e
Copilot AI review requested due to automatic review settings January 15, 2026 01:31
@vercel

vercel Bot commented Jan 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
cn-vitejs-dev Building Building Preview, Comment Jan 15, 2026 1:31am

@thinkasany thinkasany merged commit 8537e3a into main Jan 15, 2026
7 of 8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the Vite documentation from a custom VitePress theme to @voidzero-dev/vitepress-theme, modernizing the codebase and consolidating styles into a shared theme package.

Changes:

  • Migrated to @voidzero-dev/vitepress-theme v4.0.4 as a dependency
  • Replaced custom landing page components with new theme-based components
  • Updated logos, added brand assets, and new company logos for "Trusted By" section

Reviewed changes

Copilot reviewed 41 out of 83 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Added @voidzero-dev/vitepress-theme and bumped feed version
.vitepress/config.ts Integrated new theme config, updated footer structure, and added variant/banner config
.vitepress/theme/index.ts Replaced VitePress default theme with new VoidZero theme
team.md Updated imports to use new theme components, removed cnTranslator import
index.md Simplified to use new landing layout component
public/* Added new brand assets (logos, SVGs) and company logos
.vitepress/theme/styles/* Removed custom CSS in favor of theme styles
.vitepress/theme/landing/* Added new landing page component implementations
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

team.md:32

  • The cnTranslator variable is referenced on line 32 but was removed from the imports on line 14. This will cause a runtime error. Either re-add cnTranslator to the import statement or remove this section from the template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .vitepress/config.ts
Comment on lines +547 to +565
// llmstxt({
// ignoreFiles: ['blog/*', 'blog.md', 'index.md', 'team.md'],
// description: 'The Build Tool for the Web',
// details: `\
// - 💡 Instant Server Start
// - ⚡️ Lightning Fast HMR
// - 🛠️ Rich Features
// - 📦 Optimized Build
// - 🔩 Universal Plugin Interface
// - 🔑 Fully Typed APIs

// Vite is a new breed of frontend build tooling that significantly improves the frontend development experience. It consists of two major parts:

// - A dev server that serves your source files over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), with [rich built-in features](https://vite.dev/guide/features.md) and astonishingly fast [Hot Module Replacement (HMR)](https://vite.dev/guide/features.md#hot-module-replacement).

// - A [build command](https://vite.dev/guide/build.md) that bundles your code with [Rollup](https://rollupjs.org), pre-configured to output highly optimized static assets for production.

// In addition, Vite is highly extensible via its [Plugin API](https://vite.dev/guide/api-plugin.md) and [JavaScript API](https://vite.dev/guide/api-javascript.md) with full typing support.`,
// }),

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Large block of commented-out code should either be removed or uncommented with a TODO comment explaining why it's temporarily disabled. Leaving extensive commented code reduces maintainability.

Suggested change
// llmstxt({
// ignoreFiles: ['blog/*', 'blog.md', 'index.md', 'team.md'],
// description: 'The Build Tool for the Web',
// details: `\
// - 💡 Instant Server Start
// - ⚡️ Lightning Fast HMR
// - 🛠️ Rich Features
// - 📦 Optimized Build
// - 🔩 Universal Plugin Interface
// - 🔑 Fully Typed APIs
// Vite is a new breed of frontend build tooling that significantly improves the frontend development experience. It consists of two major parts:
// - A dev server that serves your source files over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), with [rich built-in features](https://vite.dev/guide/features.md) and astonishingly fast [Hot Module Replacement (HMR)](https://vite.dev/guide/features.md#hot-module-replacement).
// - A [build command](https://vite.dev/guide/build.md) that bundles your code with [Rollup](https://rollupjs.org), pre-configured to output highly optimized static assets for production.
// In addition, Vite is highly extensible via its [Plugin API](https://vite.dev/guide/api-plugin.md) and [JavaScript API](https://vite.dev/guide/api-javascript.md) with full typing support.`,
// }),

Copilot uses AI. Check for mistakes.
{
tier: '合作伙伴',
size: 'big',
size: 'big' as const,

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While using as const assertions for literal types works, consider defining the type explicitly in the return type of mapSponsors function instead of using inline type assertions on each property. This would make the code more maintainable.

Copilot uses AI. Check for mistakes.
Comment thread package.json
"@type-challenges/utils": "^0.1.1",
"@types/express": "^5.0.6",
"@types/node": "^24.10.4",
"@voidzero-dev/vitepress-theme": "^4.0.4",

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency specifies version ^4.0.4, but pnpm-lock.yaml shows version 4.1.1 is installed. This version mismatch suggests the package.json constraint should be updated to match the actual installed version, or the lock file should be regenerated to match the constraint.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants