Skip to content

Commit a4a3941

Browse files
committed
fix: template
1 parent 013b68e commit a4a3941

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

docs/主题/自定义主题.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ interface CustomThemeProps {
8787
比如 `config.yml` 配置如下所示:
8888

8989
```bash
90-
menu: Introduction
90+
menu: ['Introduction']
9191
theme: crd-seed
9292
user: muyunyun
9393
repo: https://github.com/MuYunyun/create-react-doc

docs/更新日志.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
`create-react-doc` 严格遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。
44

5+
### 1.3.5
6+
7+
`2021-09-24`
8+
9+
- **Fix**
10+
11+
- 🐞 修复初始化模板 menu 参数类型错误的问题。
12+
513
### 1.3.4
614

715
`2021-06-27`

packages/templates/default/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Menu dir
77
## you can also set detailed dir, such as BasicSkill/css
8-
menu: Introduction
8+
menu: ['Introduction']
99
## set init open menu keys
1010
# menuOpenKeys:
1111

packages/templates/theme/default/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Menu dir
77
## you can also set detailed dir, such as BasicSkill/css
8-
menu: Introduction
8+
menu: ['Introduction']
99
## set init open menu keys
1010
# menuOpenKeys:
1111

0 commit comments

Comments
 (0)