docs: 插件开发独立目录

This commit is contained in:
Junyan Qin
2024-11-17 00:33:04 +08:00
parent 13d9d3c717
commit 964f6bd832
4 changed files with 18 additions and 7 deletions
+11 -4
View File
@@ -128,9 +128,15 @@ export default defineConfig({
// collapsed: true,
items: [
{ text: "插件介绍", link: "/plugin/plugin-intro" },
{ text: "插件开发", link: "/plugin/plugin-dev" },
{ text: "组件拓展", link: "/plugin/extension" },
{ text: "API参考", link: "/plugin/api-ref" },
{
text: "插件开发",
collapsed: true,
items: [
{ text: "基础教程", link: "/plugin/dev/tutor" },
{ text: "组件扩展", link: "/plugin/dev/extension" },
{ text: "API 参考", link: "/plugin/dev/api-ref" },
]
},
// { text: "技术信息", link: "/plugin/tech-info" },
],
},
@@ -153,7 +159,8 @@ export default defineConfig({
// ],
// },
{ text: "实践", items: [
{
text: "实践", items: [
{ text: "如何在 LangBot 上接入 Dify?", link: "/workshop/dify-integration" },
{ text: "如何接入 OneAPI、LinkAI 等第三方 OpenAI 格式接口?", link: "/workshop/one-api" },
]
@@ -1,5 +1,9 @@
# API 参考
:::info 目录
[[toc]]
:::
以下 API 仅针对 事件插件 可用,组件扩展形式请自行阅读源码。
## 消息处理
@@ -1,6 +1,6 @@
# 组件扩展
> 请先阅读[插件介绍页](./plugin-intro.md)
> 请先阅读[插件介绍页](/plugin/plugin-intro)
:::info 目录
[[toc]]
@@ -1,6 +1,6 @@
# 插件开发
# 插件开发教程
> 请先阅读[插件介绍页](./plugin-intro.md)
> 请先阅读[插件介绍页](/plugin/plugin-intro)
> 建议先阅读本项目源码,了解项目架构
> 问题、需求请到仓库issue发起