Skip to content

Commit

Permalink
docs: fix: palette link in docs broken (close: #1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Nov 17, 2018
1 parent 8af52db commit 2b40e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/theme/writing-a-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The compiled content of the current `.md` file being rendered will be available

## Directory Structure

Just one `Layout.vue` might not be enough, and you might also want to define more layout components in the theme for using on different pages. You may also want to customize the [palette](../config/README.md#palette), and even apply some plugins.
Just one `Layout.vue` might not be enough, and you might also want to define more layout components in the theme for using on different pages. You may also want to customize the [palette](../config/README.md#palette-styl), and even apply some plugins.

So it's time to reorganize your theme, an agreed theme directory structure is as follows:

Expand All @@ -56,7 +56,7 @@ themePath
- `theme/global-components`: Components under this directory will be automatically registered as global components. For details, please refer to [@vuepress/plugin-register-components](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-register-components).
- `theme/components`: Your components.
- `theme/layouts`: Layout components of the theme, where `Layout.vue` is required.
- `theme/styles`: Global style and palette.
- `theme/styles`: Global style and palette.
- `theme/templates`: Modify default template.
- `theme/index.js`: Entry file of theme configuration.
- `theme/enhanceApp.js`: Theme level enhancements.
Expand Down

0 comments on commit 2b40e7e

Please sign in to comment.