create-react-docs-ui 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README-zh.md +33 -85
  2. package/README.md +33 -85
  3. package/package.json +44 -42
  4. package/template/package.json +3 -3
  5. package/template/public/config/site.en.yaml +177 -155
  6. package/template/public/config/site.yaml +28 -13
  7. package/template/public/docs/en/{guide → docs/guide}/configuration.md +195 -149
  8. package/template/public/docs/en/{guide → docs/guide}/installation.md +2 -2
  9. package/template/public/docs/en/docs/guide/quick-start.md +96 -0
  10. package/template/public/docs/en/docs/guide.md +10 -0
  11. package/template/public/docs/en/docs/test/katex-test.md +258 -0
  12. package/template/public/docs/en/docs/test/mdx-test.mdx +136 -0
  13. package/template/public/docs/en/docs/test/test.md +212 -0
  14. package/template/public/docs/en/docs/test.md +9 -0
  15. package/template/public/docs/en/docs.md +16 -0
  16. package/template/public/docs/zh-cn/{guide → docs/guide}/configuration.md +196 -150
  17. package/template/public/docs/zh-cn/{guide → docs/guide}/installation.md +2 -2
  18. package/template/public/docs/zh-cn/{guide → docs/guide}/quick-start.md +13 -25
  19. package/template/public/docs/zh-cn/docs/guide.md +10 -0
  20. package/template/public/docs/zh-cn/docs/test/katex-test.md +260 -0
  21. package/template/public/docs/zh-cn/docs/test/mdx-test.mdx +139 -0
  22. package/template/public/docs/zh-cn/docs/test/test.md +215 -0
  23. package/template/public/docs/zh-cn/docs/test.md +9 -0
  24. package/template/public/docs/zh-cn/docs.md +16 -0
  25. package/template/public/images/yrzx.png +0 -0
  26. package/template/src/components/Alert.tsx +30 -0
  27. package/template/src/components/BadgeList.tsx +38 -0
  28. package/template/src/components/Callout.tsx +20 -0
  29. package/template/src/components/Feature.tsx +15 -0
  30. package/template/src/components/MyTip.tsx +19 -0
  31. package/template/src/components/StepList.tsx +62 -0
  32. package/template/tsconfig.app.json +24 -26
  33. package/template/vite-plugin-mdx-components.ts +169 -0
  34. package/template/vite.config.ts +13 -4
  35. package/template/public/docs/en/guide/quick-start.md +0 -108
  36. package/template/public/docs/en/guide.md +0 -10
  37. package/template/public/docs/zh-cn/guide.md +0 -10
  38. /package/template/public/docs/en/{guide → docs/guide}/introduction.md +0 -0
  39. /package/template/public/docs/zh-cn/{guide → docs/guide}/introduction.md +0 -0
@@ -1,150 +1,196 @@
1
- # 配置文件(`site.yaml`)字段说明
2
-
3
- 项目遵循“配置驱动”。绝大多数行为由 `public/config/site.yaml` 决定。下面用表格逐项说明所有字段。
4
-
5
- ## 顶级键
6
- | 键 | 作用 |
7
- | :-- | :-- |
8
- | `site` | 全局元信息(标题、描述、Logo、作者) |
9
- | `navbar` | 顶部导航(开关、导航项、操作按钮) |
10
- | `sidebar` | 左侧导航树(集合/分组/子项) |
11
- | `theme` | 主题配置(默认模式、是否允许切换) |
12
- | `toc` | 文章右侧目录(开关、层级、标题) |
13
- | `footer` | 页脚(链接、社交、仓库信息) |
14
- | `pwa` | PWA 设置(预留/可选) |
15
-
16
- ---
17
-
18
- ## `site`
19
- | 字段 | 类型 | 说明 | 示例 |
20
- | :-- | :-- | :-- | :-- |
21
- | `title` | string | 网站标题 | `"React Docs UI 示例"` |
22
- | `description` | string | 简短网站描述(SEO) | `"简单漂亮的文档站"` |
23
- | `logo` | string 或 object | 网站 Logo。字符串可为 emoji 或图片路径;对象可分别设置亮/暗图标 | `"📚"`、`"/images/logo.png"`、或 `{ light: "/images/favicon.svg", dark: "/images/favicon-dark.svg" }` |
24
- | `author` | string | 作者或组织 | `"React Docs UI Team"` |
25
-
26
- Logo 支持:
27
- - Emoji:`"🚀"`
28
- - 公共路径或 URL:`"/images/logo.png"`
29
- - 明/暗主题对象:`{ light, dark }`
30
-
31
- ---
32
-
33
- ## `navbar`
34
- | 字段 | 类型 | 说明 |
35
- | :-- | :-- | :-- |
36
- | `showLogo` | boolean | 是否显示左上角 Logo |
37
- | `showTitle` | boolean | 是否显示站点标题 |
38
- | `showLanguageSwitcher` | boolean | 是否显示语言切换 |
39
- | `items` | array<Item> | 主导航链接 |
40
- | `actions` | array<Action> | 右侧操作按钮(如 GitHub) |
41
-
42
- Item
43
- | 字段 | 类型 | 说明 | 示例 |
44
- | :-- | :-- | :-- | :-- |
45
- | `title` | string | 链接文字 | `"指南"` |
46
- | `link` | string | 路径或 URL。内部路径以 `/` 开头 | `"/guide"` |
47
- | `external` | boolean(可选) | 外部链接新开标签 |
48
- | `visible` | boolean(可选) | 条件展示 |
49
-
50
- Action
51
- | 字段 | 类型 | 说明 | 示例 |
52
- | :-- | :-- | :-- | :-- |
53
- | `type` | `"github"`/`"custom"`(可选) | 预设或自定义动作 | `"github"` |
54
- | `title` | string(可选) | 自定义动作按钮文案 |
55
- | `link` | string | 目标链接 |
56
- | `icon` | string(可选) | 自定义动作图标名 |
57
- | `enabled` | boolean(可选) | 是否启用 |
58
-
59
- ---
60
-
61
- ## `sidebar`
62
- | 字段 | 类型 | 说明 |
63
- | :-- | :-- | :-- |
64
- | `enabled` | boolean(可选) | 全局开启/关闭侧边栏 |
65
- | `collections` | record<string, Collection> | 顶级集合映射(如 `guide`) |
66
- | `sections` | Section[] (兼容,可选) | 旧版单树结构 |
67
-
68
- Collection
69
- | 字段 | 类型 | 说明 |
70
- | :-- | :-- | :-- |
71
- | `sections` | Section[] | 一组可折叠分组 |
72
-
73
- Section
74
- | 字段 | 类型 | 说明 | 示例 |
75
- | :-- | :-- | :-- | :-- |
76
- | `title` | string | 分组标题 | `"快速开始"` |
77
- | `path` | string | 访问该前缀将自动展开/高亮 | `"/guide"` |
78
- | `children` | Child[](可选) | 该分组下的子链接 |
79
-
80
- Child
81
- | 字段 | 类型 | 说明 | 示例 |
82
- | :-- | :-- | :-- | :-- |
83
- | `title` | string | 子链接文字 | `"介绍"` |
84
- | `path` | string | 完整页面路径 | `"/guide/introduction"` |
85
-
86
- ---
87
-
88
- ## `theme`
89
- | 字段 | 类型 | 说明 | 可选值 | 默认值 |
90
- | :-- | :-- | :-- | :-- | :-- |
91
- | `defaultMode` | string | 默认主题模式 | `light`/`dark`/`auto` | `auto` |
92
- | `allowToggle` | boolean | 是否允许用户切换主题 | `true`/`false` | `true` |
93
-
94
- ---
95
-
96
- ## `toc`
97
- | 字段 | 类型 | 说明 | 示例 |
98
- | :-- | :-- | :-- | :-- |
99
- | `enabled` | boolean | 是否启用页面目录 | `true` |
100
- | `maxLevel` | number (1-6) | 展示的最大标题层级 | `3` |
101
- | `title` | string | 目录标题 | `"本页内容"` |
102
-
103
- 说明:具体锚点与是否显示也可能受页面 Frontmatter 影响。
104
-
105
- ---
106
-
107
- ## `footer`
108
- | 字段 | 类型 | 说明 |
109
- | :-- | :-- | :-- |
110
- | `enabled` | boolean | 是否显示页脚 |
111
- | `copyright` | string | 版权文案 |
112
- | `repository` | Repository(可选) | 仓库信息(如“在 GitHub 上编辑此页”) |
113
- | `lastUpdated` | string(可选) | 站点/内容最近更新时间 |
114
- | `links` | Link[](可选) | 页脚链接列 |
115
- | `social` | Social[](可选) | 社交图标链接 |
116
-
117
- Repository
118
- | 字段 | 类型 | 说明 | 示例 |
119
- | :-- | :-- | :-- | :-- |
120
- | `url` | string | 仓库地址 | `"https://github.com/user/repo"` |
121
- | `branch` | string | 文档所在分支 | `"main"` |
122
-
123
- Link
124
- | 字段 | 类型 | 说明 |
125
- | :-- | :-- | :-- |
126
- | `title` | string | 链接标题 |
127
- | `link` | string | 路径或 URL |
128
- | `external` | boolean(可选) | 新开标签 |
129
-
130
- Social
131
- | 字段 | 类型 | 说明 |
132
- | :-- | :-- | :-- |
133
- | `name` | string | 平台名称(如 `github`/`twitter`/`bilibili`) |
134
- | `url` | string | 个人页或链接 |
135
- | `icon` | string | 图标名 |
136
-
137
- ---
138
-
139
- ## `pwa`(可选)
140
- | 字段 | 类型 | 说明 |
141
- | :-- | :-- | :-- |
142
- | `enabled` | boolean | 是否启用 PWA(预留) |
143
- | `name` | string | 应用名 |
144
- | `shortName` | string | 应用短名 |
145
- | `description` | string | 应用描述 |
146
- | `themeColor` | string | 主题色 |
147
- | `backgroundColor` | string | 背景色 |
148
-
149
- ---
150
-
1
+ # 配置文件(`site.yaml`)字段说明
2
+
3
+ 项目遵循“配置驱动”。绝大多数行为由 `public/config/site.yaml` 决定。下面用表格逐项说明所有字段。
4
+
5
+ ## 顶级键
6
+ | 键 | 作用 |
7
+ | :-- | :-- |
8
+ | `site` | 全局元信息(标题、描述、Logo、作者) |
9
+ | `navbar` | 顶部导航(开关、导航项、操作按钮) |
10
+ | `sidebar` | 左侧导航树(集合/分组/子项) |
11
+ | `theme` | 主题配置(默认模式、是否允许切换) |
12
+ | `toc` | 文章右侧目录(开关、层级、标题) |
13
+ | `footer` | 页脚(链接、社交、仓库信息) |
14
+ | `contextMenu` | 右键菜单配置 |
15
+ | `mdx` | MDX 组件配置 |
16
+ | `pwa` | PWA 设置(预留/可选) |
17
+
18
+ ---
19
+
20
+ ## `site`
21
+ | 字段 | 类型 | 说明 | 示例 |
22
+ | :-- | :-- | :-- | :-- |
23
+ | `title` | string | 网站标题 | `"React Docs UI 示例"` |
24
+ | `description` | string | 简短网站描述(SEO) | `"简单漂亮的文档站"` |
25
+ | `logo` | string 或 object | 网站 Logo。字符串可为 emoji 或图片路径;对象可分别设置亮/暗图标 | `"📚"`、`"/images/logo.png"`、或 `{ light: "/images/favicon.svg", dark: "/images/favicon-dark.svg" }` |
26
+ | `author` | string | 作者或组织 | `"React Docs UI Team"` |
27
+
28
+ Logo 支持:
29
+ - Emoji:`"🚀"`
30
+ - 公共路径或 URL:`"/images/logo.png"`
31
+ - 明/暗主题对象:`{ light, dark }`
32
+
33
+ ---
34
+
35
+ ## `navbar`
36
+ | 字段 | 类型 | 说明 |
37
+ | :-- | :-- | :-- |
38
+ | `showLogo` | boolean | 是否显示左上角 Logo |
39
+ | `showTitle` | boolean | 是否显示站点标题 |
40
+ | `showLanguageSwitcher` | boolean | 是否显示语言切换 |
41
+ | `items` | array<Item> | 主导航链接 |
42
+ | `actions` | array<Action> | 右侧操作按钮(如 GitHub) |
43
+
44
+ Item
45
+ | 字段 | 类型 | 说明 | 示例 |
46
+ | :-- | :-- | :-- | :-- |
47
+ | `title` | string | 链接文字 | `"指南"` |
48
+ | `link` | string | 路径或 URL。内部路径以 `/` 开头 | `"/guide"` |
49
+ | `external` | boolean(可选) | 外部链接新开标签 |
50
+ | `visible` | boolean(可选) | 条件展示 |
51
+
52
+ Action
53
+ | 字段 | 类型 | 说明 | 示例 |
54
+ | :-- | :-- | :-- | :-- |
55
+ | `type` | `"github"`/`"custom"`(可选) | 预设或自定义动作 | `"github"` |
56
+ | `title` | string(可选) | 自定义动作按钮文案 |
57
+ | `link` | string | 目标链接 |
58
+ | `icon` | string(可选) | 自定义动作图标名 |
59
+ | `enabled` | boolean(可选) | 是否启用 |
60
+
61
+ ---
62
+
63
+ ## `sidebar`
64
+ | 字段 | 类型 | 说明 |
65
+ | :-- | :-- | :-- |
66
+ | `enabled` | boolean(可选) | 全局开启/关闭侧边栏 |
67
+ | `collections` | record<string, Collection> | 顶级集合映射(如 `guide`) |
68
+ | `sections` | Section[] (兼容,可选) | 旧版单树结构 |
69
+
70
+ Collection
71
+ | 字段 | 类型 | 说明 |
72
+ | :-- | :-- | :-- |
73
+ | `sections` | Section[] | 一组可折叠分组 |
74
+
75
+ Section
76
+ | 字段 | 类型 | 说明 | 示例 |
77
+ | :-- | :-- | :-- | :-- |
78
+ | `title` | string | 分组标题 | `"快速开始"` |
79
+ | `path` | string | 访问该前缀将自动展开/高亮 | `"/guide"` |
80
+ | `children` | Child[](可选) | 该分组下的子链接 |
81
+
82
+ Child
83
+ | 字段 | 类型 | 说明 | 示例 |
84
+ | :-- | :-- | :-- | :-- |
85
+ | `title` | string | 子链接文字 | `"介绍"` |
86
+ | `path` | string | 完整页面路径 | `"/guide/introduction"` |
87
+
88
+ ---
89
+
90
+ ## `theme`
91
+ | 字段 | 类型 | 说明 | 可选值 | 默认值 |
92
+ | :-- | :-- | :-- | :-- | :-- |
93
+ | `defaultMode` | string | 默认主题模式 | `light`/`dark`/`auto` | `auto` |
94
+ | `allowToggle` | boolean | 是否允许用户切换主题 | `true`/`false` | `true` |
95
+
96
+ ---
97
+
98
+ ## `toc`
99
+ | 字段 | 类型 | 说明 | 示例 |
100
+ | :-- | :-- | :-- | :-- |
101
+ | `enabled` | boolean | 是否启用页面目录 | `true` |
102
+ | `maxLevel` | number (1-6) | 展示的最大标题层级 | `3` |
103
+ | `title` | string | 目录标题 | `"本页内容"` |
104
+
105
+ 说明:具体锚点与是否显示也可能受页面 Frontmatter 影响。
106
+
107
+ ---
108
+
109
+ ## `footer`
110
+ | 字段 | 类型 | 说明 |
111
+ | :-- | :-- | :-- |
112
+ | `enabled` | boolean | 是否显示页脚 |
113
+ | `copyright` | string | 版权文案 |
114
+ | `repository` | Repository(可选) | 仓库信息(如“在 GitHub 上编辑此页”) |
115
+ | `lastUpdated` | string(可选) | 站点/内容最近更新时间 |
116
+ | `links` | Link[](可选) | 页脚链接列 |
117
+ | `social` | Social[](可选) | 社交图标链接 |
118
+
119
+ Repository
120
+ | 字段 | 类型 | 说明 | 示例 |
121
+ | :-- | :-- | :-- | :-- |
122
+ | `url` | string | 仓库地址 | `"https://github.com/user/repo"` |
123
+ | `branch` | string | 文档所在分支 | `"main"` |
124
+
125
+ Link
126
+ | 字段 | 类型 | 说明 |
127
+ | :-- | :-- | :-- |
128
+ | `title` | string | 链接标题 |
129
+ | `link` | string | 路径或 URL |
130
+ | `external` | boolean(可选) | 新开标签 |
131
+
132
+ Social
133
+ | 字段 | 类型 | 说明 |
134
+ | :-- | :-- | :-- |
135
+ | `name` | string | 平台名称(如 `github`/`twitter`/`bilibili`) |
136
+ | `url` | string | 个人页或链接 |
137
+ | `icon` | string | 图标名 |
138
+
139
+ ---
140
+
141
+ ## `contextMenu`
142
+ | 字段 | 类型 | 说明 |
143
+ | :-- | :-- | :-- |
144
+ | `enabled` | boolean | 全局开关,false 则完全禁用右键菜单 |
145
+ | `page` | object | 页面组菜单项配置 |
146
+ | `site` | object | 站点组菜单项配置 |
147
+ | `appearance` | object | 外观组菜单项配置 |
148
+
149
+ Page
150
+ | 字段 | 类型 | 说明 | 默认值 |
151
+ | :-- | :-- | :-- | :-- |
152
+ | `copySelectedText` | boolean | 复制选中的文字 | `true` |
153
+ | `copyUrl` | boolean | 复制当前链接 | `true` |
154
+ | `copyTitle` | boolean | 复制页面标题 | `false` |
155
+ | `copyMarkdownLink` | boolean | 复制 Markdown 链接 | `false` |
156
+ | `openInNewTab` | boolean | 在新标签页打开 | `false` |
157
+ | `reload` | boolean | 刷新 | `true` |
158
+ | `printPage` | boolean | 打印页面 | `true` |
159
+ | `scrollToTop` | boolean | 回到顶部 | `true` |
160
+ | `scrollToBottom` | boolean | 滚动到底部 | `true` |
161
+
162
+ Site
163
+ | 字段 | 类型 | 说明 | 默认值 |
164
+ | :-- | :-- | :-- | :-- |
165
+ | `goHome` | boolean | 返回首页 | `true` |
166
+ | `quickNav` | boolean | 快速跳转 | `false` |
167
+ | `language` | boolean | 语言切换 | `false` |
168
+
169
+ Appearance
170
+ | 字段 | 类型 | 说明 | 默认值 |
171
+ | :-- | :-- | :-- | :-- |
172
+ | `theme` | boolean | 主题切换 | `false` |
173
+ | `resetThemePref` | boolean | 重置主题偏好 | `false` |
174
+
175
+ ---
176
+
177
+ ## `mdx`
178
+ | 字段 | 类型 | 说明 | 示例 |
179
+ | :-- | :-- | :-- | :-- |
180
+ | `componentsPath` | string | 组件扫描路径 | `"/src/components"` |
181
+ | `enabled` | boolean | 启用 MDX 支持 | `true` |
182
+
183
+ ---
184
+
185
+ ## `pwa`(可选)
186
+ | 字段 | 类型 | 说明 |
187
+ | :-- | :-- | :-- |
188
+ | `enabled` | boolean | 是否启用 PWA(预留) |
189
+ | `name` | string | 应用名 |
190
+ | `shortName` | string | 应用短名 |
191
+ | `description` | string | 应用描述 |
192
+ | `themeColor` | string | 主题色 |
193
+ | `backgroundColor` | string | 背景色 |
194
+
195
+ ---
196
+
@@ -39,7 +39,7 @@
39
39
  ```
40
40
 
41
41
  2. **创建配置文件**:
42
- 在你的 `public` 目录下创建一个 `config` 文件夹,并在其中新建一个 `site.yaml` 文件。你可以从[这里](https://github.com/shenjianZ/react-docs-ui/blob/main/react-docs-ui/public/config/site.yaml)复制一个基础模板。
42
+ 在你的 `public` 目录下创建一个 `config` 文件夹,并在其中新建一个 `site.yaml` 文件。你可以从[这里](https://github.com/shenjianZ/create-vue-docs-ui/blob/master/template/public/config/site.yaml)复制一个基础模板。
43
43
 
44
44
  3. **创建文档目录**:
45
45
  在 `public` 目录下创建一个 `docs` 文件夹,用于存放你的 Markdown 文件。例如: `public/docs/zh-cn/index.md`。
@@ -60,4 +60,4 @@
60
60
  </React.StrictMode>,
61
61
  )
62
62
  ```
63
- 5. **确保 `index.html` 中有 `<div id="root"></div>`**
63
+ 5. **确保 `index.html` 中有 `<div id="root"></div>`**
@@ -25,17 +25,15 @@ npm install
25
25
  - 打开 `public/docs/zh-cn/` 目录。
26
26
  - 你可以修改现有的 `index.md` 和 `guide` 目录下的文件,或者创建新的 `.md` 文件。
27
27
 
28
- 例如,我们来创建一个新页面。在 `public/docs/zh-cn/` 下新建一个 `about.md` 文件:
28
+ 例如,我们来创建一个新页面。在`public/docs/zh-cn/`新建`about`目录以及`about.md`文件 ,
29
+ `about.md`的内容如下
29
30
 
30
31
  ```markdown
31
- ---
32
- title: 关于我们
33
- description: 这是一个关于我们团队的页面。
34
- ---
35
32
 
36
33
  # 关于我们
37
34
 
38
35
  我们热爱开源和创造!
36
+
39
37
  ```
40
38
 
41
39
 
@@ -64,39 +62,29 @@ site:
64
62
  navbar:
65
63
  items:
66
64
  - title: "首页"
67
- link: "/zh-cn/"
68
- - title: "指南"
69
- link: "/zh-cn/guide/introduction"
65
+ link: "/"
66
+ active: true
67
+ - title: "文档"
68
+ link: "/docs"
70
69
  - title: "关于" # 新增
71
- link: "/zh-cn/about" # 新增
70
+ link: "/about" # 新增
72
71
  ```
73
72
 
74
73
  ### c. 添加到侧边栏
75
74
 
76
- 为了让“关于”页面在侧边栏也可见,我们在 `sidebar.collections.guide.sections` 中添加一个新条目。
75
+ 为了让“关于”页面在侧边栏也可见,我们在 新建一个 `sidebar.collections.about.sections` ,并且添加一个新条目。
77
76
 
78
77
  ```yaml
79
78
  sidebar:
80
79
  collections:
81
- guide:
80
+ about:
82
81
  sections:
83
- - title: "快速开始"
84
- path: "/zh-cn/guide"
85
- children:
86
- - title: "介绍"
87
- path: "/zh-cn/guide/introduction"
88
- - title: "安装"
89
- path: "/zh-cn/guide/installation"
90
- - title: "快速上手"
91
- path: "/zh-cn/guide/quick-start"
92
82
  # 你可以为 "关于" 页面创建一个新的 section
93
83
  - title: "关于我们"
94
- path: "/zh-cn/about"
95
- children:
96
- - title: "关于"
97
- path: "/zh-cn/about"
84
+ path: "/about/about"
98
85
  ```
99
86
 
87
+ 这里侧边栏的about项还需要再创建一个文件`public/docs/zh-cn/about` 下`创建about.md`
100
88
  ## 4. 启动网站
101
89
 
102
90
  保存你的所有修改,然后在终端运行:
@@ -105,4 +93,4 @@ sidebar:
105
93
  npm run dev
106
94
  ```
107
95
 
108
- 你的网站现在应该运行在 `http://localhost:5173` 上了。访问它,你会看到更新后的标题、Logo,以及导航栏和侧边栏中新增的“关于”链接。恭喜你,你已经成功掌握了 React Docs UI 的基本工作流程!
96
+ 你的网站现在应该运行在 `http://localhost:5173` 上了。访问它,你会看到更新后的标题、Logo,以及导航栏和侧边栏中新增的“关于”链接。恭喜你,你已经成功掌握了 React Docs UI 的基本工作流程!
@@ -0,0 +1,10 @@
1
+ # 指南
2
+
3
+ 本指南将帮助你全面了解并掌握 React Docs UI 的各项功能。无论你是初学者还是希望进行深度定制,都能在这里找到所需的信息。
4
+
5
+ ## 目录
6
+
7
+ - **[介绍](/docs/guide/introduction)**: 了解 React Docs UI 的核心理念和主要优势。
8
+ - **[安装](/docs/guide/installation)**: 学习如何通过脚手架或手动方式安装。
9
+ - **[快速上手](/docs/guide/quick-start)**: 在 5 分钟内创建并运行你的第一个文档网站。
10
+ - **[配置说明 (`site.yaml`)](/docs/guide/configuration)**: 深入了解每个配置项,完全掌控你的网站。