Docs Site Commands

Estimated reading time: less than 1 minute 预计阅读时间: 小于 1 分钟

This page records commands for the summer-admin-docs documentation repository itself, not the runtime commands of the summerrs-admin main workspace.

pnpm dev

Start the local Rspress development server:

pnpm dev

Useful when writing and previewing docs at the same time.

pnpm build

Build the static site:

pnpm build

The default output directory is doc_build/.

pnpm preview

Preview the production build locally:

pnpm preview

pnpm lint

Check the current docs repository content and config:

pnpm lint

pnpm format

Format the repository using the current Biome configuration:

pnpm format