未验证 提交 e7f33d79 编写于 作者: C cyrilf 提交者: GitHub

docs: correctly refer to theme/index.js file (#2295)

上级 a7b62907
......@@ -36,7 +36,7 @@ The options supported by `.vuepress/config.js` are actually based on the plugin
The root configuration file of the theme is also a plugin.
::: tip
As with `.vuepress/config.js`, the options supported by `theme/config.js` are based on the plugin options and add some specific options. Using a graph to express their relationship:
As with `.vuepress/config.js`, the options supported by `theme/index.js` are based on the plugin options and add some specific options. Using a graph to express their relationship:
<svg viewBox="0 0 2806 912" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 51 (57462) - http://www.bohemiancoding.com/sketch -->
......
......@@ -35,7 +35,7 @@ VuePress 1.0 进行了大范围的重写,其中最重要的就是引入 [Plugi
主题的根配置文件也是插件。
::: tip
`.vuepress/config.js` 一样,`theme/config.js` 所支持的选项,也是在插件选项的基础上,又新增了一些特定的选项。用一张图来表达它们的关系就是:
`.vuepress/config.js` 一样,`theme/index.js` 所支持的选项,也是在插件选项的基础上,又新增了一些特定的选项。用一张图来表达它们的关系就是:
<svg viewBox="0 0 2806 912" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 51 (57462) - http://www.bohemiancoding.com/sketch -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册