Skip to content

Commit

Permalink
chore: 更改简介示例
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnotech committed Oct 13, 2023
1 parent 5902f84 commit d6c4801
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/nep/definition/1-package.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { Tag } from "../../components/tag.tsx"
* 示例:`name = "VSCode"`

### description
包的简短描述,尽量从官方渠道摘取
包的简短描述,尽量从官方渠道摘取简介
* 类型:`String`
* 示例:`description = "微软出品的开源编辑器"`
* 示例:`description = "微软开发的跨平台开源编辑器"`

### template
包模板,当前版本中仅能为 "Software"
Expand Down
4 changes: 2 additions & 2 deletions src/types/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pub struct Package {
/// 包名
//# `name = "VSCode"`
pub name: String,
/// 包的简短描述,尽量从官方渠道摘取
//# `description = "微软出品的开源编辑器"`
/// 包的简短描述,尽量从官方渠道摘取简介
//# `description = "微软开发的跨平台开源编辑器"`
pub description: String,
/// 包模板,当前版本中仅能为 "Software"
//# `template = "Software"`
Expand Down

0 comments on commit d6c4801

Please sign in to comment.