Skip to content

Commit eac5caa

Browse files
Theo-Messibrc-dd
andauthored
docs(zh): fix indentation (#3413)
Co-authored-by: Divyansh Singh <[email protected]>
1 parent b03fb83 commit eac5caa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/zh/guide/deploy.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ outline: deep
3333
$ npm run docs:preview
3434
```
3535

36-
`preview` 命令将启动一个本地静态 Web 服务器`http://localhost:4173`,该服务器以 `.vitepress/dist` 作为源文件。这是检查生产版本在本地环境中是否正常的一种简单方法。
36+
`preview` 命令将启动一个本地静态 Web 服务器`http://localhost:4173`,该服务器以 `.vitepress/dist` 作为源文件。这是检查生产版本在本地环境中是否正常的一种简单方法。
3737

3838
3. 可以通过传递 `--port` 作为参数来配置服务器的端口。
3939

@@ -45,7 +45,7 @@ outline: deep
4545
}
4646
```
4747

48-
现在 `docs:preview` 方法将在 `http://localhost:8080` 启动服务器。
48+
现在 `docs:preview` 方法将在 `http://localhost:8080` 启动服务器。
4949

5050
## 设定 public 根目录 {#setting-a-public-base-path}
5151

@@ -121,7 +121,7 @@ Cache-Control: max-age=31536000,immutable
121121

122122
1. 在项目的 `.github/workflows` 目录中创建一个名为 `deploy.yml` 的文件,其中包含这样的内容:
123123

124-
```yaml
124+
```yaml
125125
# 构建 VitePress 站点并将其部署到 GitHub Pages 的示例工作流程
126126
#
127127
name: Deploy VitePress site to Pages
@@ -191,7 +191,7 @@ Cache-Control: max-age=31536000,immutable
191191
```
192192
193193
::: warning
194-
确保 VitePress 中的 `base` 选项配置正确。有关更多详细信息,请参阅[设置根路径](#setting-a-public-base-path)。
194+
确保 VitePress 中的 `base` 选项配置正确。有关更多详细信息,请参阅[设置根路径](#setting-a-public-base-path)。
195195
:::
196196

197197
2. 在存储库设置中的“Pages”菜单项下,选择“Build and deployment > Source > GitHub Actions”。

0 commit comments

Comments
 (0)