Skip to content

Commit 4bbae56

Browse files
committed
feat: add plugin publishing guide and update sidebar
closes: #75
1 parent 28da844 commit 4bbae56

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

.vitepress/config/sidebar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ function dev_star(): DefaultTheme.SidebarItem[] {
234234
{ text: "文转图", link: "/guides/html-to-pic" },
235235
{ text: "会话控制器", link: "/guides/session-control" },
236236
{ text: "杂项", link: "/guides/other" },
237+
{ text: "发布插件", link: "/plugin-publish" },
237238
{ text: "插件指南(旧)", link: "/plugin" },
238239
];
239240
}

dev/plugin-publish.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

dev/star/plugin-publish.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 发布插件到插件市场
2+
3+
在编写完插件后,你可以选择将插件发布到 AstrBot 的插件市场,让更多用户使用你的插件。
4+
5+
AstrBot 使用 GitHub 托管插件,因此你需要先将插件代码推送到之前创建的 GitHub 插件仓库中。
6+
7+
你可以前往 [AstrBot 插件市场](https://plugins.astrbot.top) 提交你的插件。进入该网站后,点击右下角的 `+` 按钮,填写好基本信息、作者信息、仓库信息等内容后,点击 `提交到 GTIHUB` 按钮,你将会被导航到 AstrBot 仓库的 Issue 提交页面,请确认信息无误后点击 `Create` 按钮提交,即可完成插件发布。
8+
9+
![fill out the form](../../source/images/plugin-publish/image.png)
517 KB
Loading

0 commit comments

Comments
 (0)