docs: update
This commit is contained in:
parent
903d422812
commit
268f4e25e5
|
@ -32,11 +32,11 @@ pnpm i -D vitepress-theme-linear
|
||||||
|
|
||||||
### Config Theme
|
### Config Theme
|
||||||
|
|
||||||
### Preparation
|
#### Preparation
|
||||||
|
|
||||||
Refer to official [guide](https://vitepress.vuejs.org/guide/configuration.html#typed-theme-config) to create the `config.ts` file.
|
Refer to official [guide](https://vitepress.vuejs.org/guide/configuration.html#typed-theme-config) to create the `config.ts` file.
|
||||||
|
|
||||||
### Theme Config
|
#### Theme Config
|
||||||
|
|
||||||
- `links`:
|
- `links`:
|
||||||
- type: Array;
|
- type: Array;
|
||||||
|
@ -46,7 +46,7 @@ Refer to official [guide](https://vitepress.vuejs.org/guide/configuration.html#t
|
||||||
- icon: String - path to the icon (public assets should be placed at `public` folder in `docs` folder);
|
- icon: String - path to the icon (public assets should be placed at `public` folder in `docs` folder);
|
||||||
- `posts`: Use `getPosts` function to generate.
|
- `posts`: Use `getPosts` function to generate.
|
||||||
|
|
||||||
### Sample Configuration
|
#### Sample Configuration
|
||||||
|
|
||||||
> Don't worry if module `./theme/config` is not found.
|
> Don't worry if module `./theme/config` is not found.
|
||||||
|
|
||||||
|
|
|
@ -36,11 +36,11 @@ pnpm i -D vitepress-theme-linear
|
||||||
|
|
||||||
### Config Theme
|
### Config Theme
|
||||||
|
|
||||||
### Preparation
|
#### Preparation
|
||||||
|
|
||||||
Refer to official [guide](https://vitepress.vuejs.org/guide/configuration.html#typed-theme-config) to create the `config.ts` file.
|
Refer to official [guide](https://vitepress.vuejs.org/guide/configuration.html#typed-theme-config) to create the `config.ts` file.
|
||||||
|
|
||||||
### Theme Config
|
#### Theme Config
|
||||||
|
|
||||||
- `links`:
|
- `links`:
|
||||||
- type: Array;
|
- type: Array;
|
||||||
|
@ -50,7 +50,7 @@ Refer to official [guide](https://vitepress.vuejs.org/guide/configuration.html#t
|
||||||
- icon: String - path to the icon (public assets should be placed at `public` folder in `docs` folder);
|
- icon: String - path to the icon (public assets should be placed at `public` folder in `docs` folder);
|
||||||
- `posts`: Use `getPosts` function to generate.
|
- `posts`: Use `getPosts` function to generate.
|
||||||
|
|
||||||
### Sample Configuration
|
#### Sample Configuration
|
||||||
|
|
||||||
> Don't worry if module `./theme/config` is not found.
|
> Don't worry if module `./theme/config` is not found.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue