1
0
forked from bot/app

🐛 docs: 添加发布插件表单

This commit is contained in:
2024-09-21 23:16:37 +08:00
parent 76be748160
commit aa4d930cc4
5 changed files with 26 additions and 137 deletions

View File

@ -1,7 +1,7 @@
name: 发布资源
title: "Plugin: {name}"
title: "Resource: {name}"
description: 发布资源到轻雪机器人官方商店
labels: ["Resource"]
labels: [ "Resource" ]
body:
- type: input
id: name
@ -20,7 +20,7 @@ body:
placeholder: e.g. 使渲染卡片的样式更美观
validations:
required: true
- type: input
id: author
attributes:
@ -29,7 +29,7 @@ body:
placeholder: e.g. snowykami
validations:
required: true
- type: input
id: link
attributes:
@ -38,7 +38,7 @@ body:
placeholder: e.g. https://aaa.com/r.zip
validations:
required: true
- type: input
id: homepage
attributes:

View File

@ -1,43 +0,0 @@
name: 发布插件
title: "Plugin: {name}"
description: 发布插件到 NoneBot 官方商店
labels: ["Plugin"]
body:
- type: input
id: pypi
attributes:
label: PyPI 项目名
description: PyPI 项目名
placeholder: e.g. nonebot-plugin-xxx
validations:
required: true
- type: input
id: module
attributes:
label: 插件 import 包名
description: 插件 import 包名
placeholder: e.g. nonebot_plugin_xxx
validations:
required: true
- type: input
id: tags
attributes:
label: 标签
description: 标签
placeholder: 'e.g. [{"label": "标签名", "color": "#ea5252"}]'
value: "[]"
validations:
required: true
- type: textarea
id: config
attributes:
label: 插件配置项
description: 插件配置项
render: dotenv
placeholder: |
# e.g.
# KEY=VALUE
# KEY2=VALUE2