Skip to content

Commit 5897ae9

Browse files
committed
docs: fix typo
1 parent accc484 commit 5897ae9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/reference/default-theme/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Reference of default theme config, which can be set via [themeConfig](../config.
1616

1717
All the options inside the [Locale Config](#locale-config) section can be used in locales.
1818

19-
This options will only take effect in default theme, so don't confuse with `locales` in [Site Config](../config.md#locales).
19+
This option will only take effect in default theme, so don't confuse with `locales` in [Site Config](../config.md#locales).
2020

2121
- Also see:
2222
- [Guide > I18n](../../guide/i18n.md)
@@ -488,7 +488,7 @@ module.exports = {
488488

489489
Specify the messages of the 404 page.
490490

491-
The message will be randomly picked from the array when user enter the 404 page.
491+
The message will be randomly picked from the array when users enter the 404 page.
492492

493493
### backToHome
494494

docs/zh/guide/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ v1 的主题和插件和 v2 并不兼容。
271271
- `theme/global-components/` 目录下的文件不会被自动注册为 Vue 组件。你需要在 `clientAppEnhance.{js,ts}` 中手动注册组件。
272272
- `theme/layouts/` 目录下的文件不会被自动注册为布局组件。你需要通过 `layouts` 配置项来显式指定。
273273
- `theme/templates/` 目录下的文件不会被自动作为 dev / ssr 的模板。
274-
- 你之中需要提供主题入口文件,并且不要使用 `"main": "layouts/Layout.vue"` 作为主题入口。
274+
- 你始终需要提供主题入口文件,并且不要使用 `"main": "layouts/Layout.vue"` 作为主题入口。
275275
- Stylus 不再是默认的 CSS 预处理器,并且 Stylus 调色板系统不再被默认支持。如果你仍然想要使用和 v1 类似的调色板系统,可以使用 [@vuepress/plugin-palette](../reference/plugin/palette.md)
276276
- 由 Prism.js 提供的 Markdown 代码块的语法高亮不再被默认支持。你可以选择使用 [@vuepress/plugin-prismjs](../reference/plugin/prismjs.md)[@vuepress/plugin-shiki](../reference/plugin/shiki.md) ,或者用你自己的方式实现语法高亮。
277277
- 考虑到可扩展性, `$site.pages` 不再可用。

0 commit comments

Comments
 (0)