Skip to content

Commit 0a24021

Browse files
committed
docs: inline homepage command copy and add project links
1 parent 298f7a4 commit 0a24021

2 files changed

Lines changed: 200 additions & 153 deletions

File tree

website/i18n.json

Lines changed: 1 addition & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"zh": "快速上手"
55
},
66
"getStarted": {
7-
"en": "Get Started",
7+
"en": "Get started",
88
"zh": "开始使用"
99
},
1010
"github": {
@@ -27,126 +27,6 @@
2727
"en": "One CLI unifies development, builds, testing, linting, and formatting across all your JavaScript projects. Powered by the Rspack ecosystem.",
2828
"zh": "只需一个 CLI,即可统一所有 JavaScript 项目的开发、构建、测试、代码检查与格式化。由 Rspack 生态驱动。"
2929
},
30-
"appCommandTitle": {
31-
"en": "From dev to production, fast",
32-
"zh": "从开发到构建,快人一步"
33-
},
34-
"appCommandDesc": {
35-
"en": "Powered by Rspack and Rsbuild, start a dev server quickly and build enterprise-grade web applications",
36-
"zh": "基于 Rspack 和 Rsbuild,快速启动开发服务器,构建企业级 Web 应用"
37-
},
38-
"appCommandHmr": {
39-
"en": "Build 5–20× faster than webpack",
40-
"zh": "构建速度比 webpack 快 5–20 倍"
41-
},
42-
"appCommandProduction": {
43-
"en": "Optimize bundles for faster runtime performance",
44-
"zh": "全方位优化产物,运行更快"
45-
},
46-
"appCommandConfig": {
47-
"en": "A consistent bundling process for development and production",
48-
"zh": "开发与生产采用一致的打包流程"
49-
},
50-
"libCommandTitle": {
51-
"en": "Your library, ready to ship",
52-
"zh": "构建你的库,轻松交付"
53-
},
54-
"libCommandDesc": {
55-
"en": "Build reusable JavaScript libraries with Rslib, with the flexibility to develop shared libraries, CLI tools, and components",
56-
"zh": "使用 Rslib 构建可复用的 JavaScript 库,灵活应对公共库、命令行和组件开发需求"
57-
},
58-
"libCommandFormats": {
59-
"en": "One configuration for ESM, CJS, Module Federation, and more",
60-
"zh": "一份配置,输出 ESM、CJS 和模块联邦等多种格式"
61-
},
62-
"libCommandModes": {
63-
"en": "Choose bundle or bundleless output to suit your needs",
64-
"zh": "按需选择 bundle 或 bundleless 输出模式"
65-
},
66-
"libCommandTypes": {
67-
"en": "Generate type declarations quickly with TypeScript 7",
68-
"zh": "使用 TypeScript 7 快速生成类型声明"
69-
},
70-
"testCommandTitle": {
71-
"en": "Faster tests, instant feedback",
72-
"zh": "更快测试,即时反馈"
73-
},
74-
"testCommandDesc": {
75-
"en": "Test JavaScript with Rstest for fast feedback from local development to CI",
76-
"zh": "使用 Rstest 测试 JavaScript 代码,从本地开发到 CI 保持高效反馈"
77-
},
78-
"testCommandConfig": {
79-
"en": "Automatically reuse existing build configuration to reduce maintenance",
80-
"zh": "自动复用已有构建配置,减少维护成本"
81-
},
82-
"testCommandApi": {
83-
"en": "Familiar Jest APIs",
84-
"zh": "熟悉的 Jest API"
85-
},
86-
"testCommandPerformance": {
87-
"en": "Tests accelerated by Rspack, 20%+ faster than Jest",
88-
"zh": "由 Rspack 加速测试,比 Jest 快 20%+"
89-
},
90-
"checkCommandTitle": {
91-
"en": "Consistent standards, faster checks",
92-
"zh": "统一规范,更快检查"
93-
},
94-
"checkCommandDesc": {
95-
"en": "One command for linting, formatting checks, and type checking to keep team standards consistent",
96-
"zh": "一个命令完成代码检查、格式校验和类型检查,保持团队规范一致"
97-
},
98-
"checkCommandLint": {
99-
"en": "Lint 20–40× faster than ESLint",
100-
"zh": "代码检查速度比 ESLint 快 20–40 倍"
101-
},
102-
"checkCommandFormat": {
103-
"en": "Format 5–10× faster than Prettier",
104-
"zh": "格式化速度比 Prettier 快 5–10 倍"
105-
},
106-
"checkCommandCompatibility": {
107-
"en": "Compatible with ESLint and Prettier configuration and plugins",
108-
"zh": "兼容 ESLint 和 Prettier 的配置项与插件"
109-
},
110-
"hooksCommandTitle": {
111-
"en": "Checks in every commit",
112-
"zh": "让检查融入每次提交"
113-
},
114-
"hooksCommandDesc": {
115-
"en": "Bring code checks into your Git workflow while keeping your existing lint-staged configuration and Husky workflow",
116-
"zh": "将代码检查融入 Git 工作流,延续现有 lint-staged 配置与 Husky 工作流"
117-
},
118-
"hooksCommandSetup": {
119-
"en": "Manage repository-wide Git hooks in one place",
120-
"zh": "统一管理仓库级 Git hooks"
121-
},
122-
"hooksCommandStaged": {
123-
"en": "Automatically check staged files",
124-
"zh": "自动检查暂存区文件"
125-
},
126-
"hooksCommandTasks": {
127-
"en": "Run custom commands to suit your workflow",
128-
"zh": "灵活运行自定义命令"
129-
},
130-
"docCommandTitle": {
131-
"en": "Build AI-friendly docs sites",
132-
"zh": "生成 AI 友好的文档站"
133-
},
134-
"docCommandDesc": {
135-
"en": "Generate beautiful, AI-friendly static documentation sites with Rspress and maintain docs alongside your code",
136-
"zh": "使用 Rspress 生成美观、AI 友好的静态文档站,让文档与代码一同维护"
137-
},
138-
"docCommandMarkdown": {
139-
"en": "Write content with Markdown and MDX",
140-
"zh": "使用 Markdown 和 MDX 编写内容"
141-
},
142-
"docCommandFeatures": {
143-
"en": "Full-text search and multilingual support out of the box",
144-
"zh": "开箱即用的全文搜索与多语言支持"
145-
},
146-
"docCommandWorkflow": {
147-
"en": "Automatically generate llms.txt and Markdown files for AI agents to read",
148-
"zh": "自动生成 llms.txt 与 Markdown 文件,供 AI Agent 读取"
149-
},
15030
"guide": {
15131
"en": "Guide",
15232
"zh": "指南"

0 commit comments

Comments
 (0)