Skip to content

Commit fb05066

Browse files
committed
docs: update description of config.theme
1 parent 75a3f6d commit fb05066

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

packages/docs/docs/config/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ VuePress provides a convenient way to add extra styles. you can create an `.vuep
159159
- Type: `string`
160160
- Default: `undefined`
161161

162-
Specify this to use a custom theme. With the value of `"foo"`, VuePress will attempt to load the theme component at `node_modules/vuepress-theme-foo/Layout.vue`.
162+
Specify this to use a custom theme.
163+
164+
**Also see:**
165+
166+
- [Using a theme](../theme/README.md#using-a-theme).
163167

164168
### themeConfig
165169

packages/docs/docs/zh/config/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,11 @@ VuePress provides a convenient way to add extra styles. you can create an `.vuep
154154
- 类型: `string`
155155
- 默认值: `undefined`
156156

157-
当你使用自定义主题的时候,需要指定它。当值为 `"foo"` 时,VuePress 将会尝试去加载位于 `node_modules/vuepress-theme-foo/Layout.vue` 的主题组件。
157+
当你使用自定义主题的时候,需要指定它。
158+
159+
**参考:**
160+
161+
- [Using a theme](../theme/README.md#using-a-theme).
158162

159163
### themeConfig
160164

0 commit comments

Comments
 (0)