Skip to content

fix: template #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/主题/自定义主题.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ interface CustomThemeProps {
比如 `config.yml` 配置如下所示:

```bash
menu: Introduction
menu: ['Introduction']
theme: crd-seed
user: muyunyun
repo: https://github.com/MuYunyun/create-react-doc
Expand Down
8 changes: 8 additions & 0 deletions docs/更新日志.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

### 1.3.5

`2021-09-24`

- **Fix**

- 🐞 修复初始化模板 menu 参数类型错误的问题。

### 1.3.4

`2021-06-27`
Expand Down
2 changes: 1 addition & 1 deletion packages/templates/default/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Menu dir
## you can also set detailed dir, such as BasicSkill/css
menu: Introduction
menu: ['Introduction']
## set init open menu keys
# menuOpenKeys:

Expand Down
2 changes: 1 addition & 1 deletion packages/templates/theme/default/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Menu dir
## you can also set detailed dir, such as BasicSkill/css
menu: Introduction
menu: ['Introduction']
## set init open menu keys
# menuOpenKeys:

Expand Down