Update docs

This commit is contained in:
Karlatemp 2022-06-15 12:50:13 +08:00
parent 2dcff0cf45
commit 90fe69b6f2
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59
3 changed files with 88 additions and 2 deletions

40
docs/.conf/nav.js Normal file
View File

@ -0,0 +1,40 @@
/*
* Copyright 2019-2022 Mamoe Technologies and contributors.
*
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
*
* https://github.com/mamoe/mirai/blob/dev/LICENSE
*/
module.exports = {
text: "mirai-core",
link: "/",
items: [
{text: "Index", link: "/"},
{text: "Mirai 生态概览", link: "/mirai-ecology.html"},
{text: "从 1.x 迁移", link: "/MigrationFrom1x.html"},
{text: '用户手册', link: '/UserManual.html'},
{text: 'JVM 环境和开发准备工作', link: '/Preparations.html'},
{text: "配置项目", link: "/ConfiguringProjects.html"},
{
text: "CoreAPI", items: [
{text: "CoreAPI", link: "/CoreAPI.html"},
{text: "机器人", link: "/Bots.html"},
{text: "联系人", link: "/Contacts.html"},
{text: "事件", link: "/Events.html"},
{text: "消息", link: "/Messages.html"},
]
},
{
text: "Misc", items: [
{text: '主要API', link: '/ConciseAPI.html'},
{text: 'Mirai - Evolution', link: '/Evolution.html'},
{text: 'Kotlin & Java', link: '/KotlinAndJava.html'},
{text: "事件列表", link: "/EventList.html"},
{text: "Debugging Network", link: "/DebuggingNetwork.html"},
{text: "Using Dev Snapshots", link: "/UsingSnapshots.html"},
]
},
],
};

View File

@ -289,7 +289,7 @@ contactListCache.setSaveIntervalMillis(60000) // 可选设置有更新时的保
> [回到 Mirai 文档索引](CoreAPI.md)
<!--
<!-- BEGIN DROP A
## 附录
@ -420,4 +420,4 @@ dependencies {
</dependencies>
```
-->
END DROP A -->

View File

@ -0,0 +1,46 @@
/*
* Copyright 2019-2022 Mamoe Technologies and contributors.
*
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
*
* https://github.com/mamoe/mirai/blob/dev/LICENSE
*/
module.exports = {
text: "mirai-console",
link: "/",
items: [
{text: "Index", link: "/"},
{text: "配置项目", link: "/ConfiguringProjects.html"},
{text: "启动 Console", link: "/Run.html"},
{
text: "后端插件开发基础", items: [
{text: "插件 - Plugin 模块", link: "/plugin/Plugins.html"},
{text: "插件 - JVM Plugin", link: "/plugin/JVMPlugin.html"},
{text: "指令 - Command 模块", link: "/Commands.html"},
{text: "存储 - PluginData 模块", link: "/PluginData.html"},
{text: "权限 - Permission 模块", link: "/Permissions.html"},
]
},
{
text: "后端插件开发进阶", items: [
{text: "扩展 - Extension 模块和扩展点", link: "/Extensions.html"},
]
},
{
text: "实现前端", items: [
{text: "FrontEnd", link: "/FrontEnd.html"},
]
},
{
text: "Misc", items: [
{text: 'Q & A', link: '/QA.html'},
{text: '日志配置', link: '/Logging.html'},
{text: '内置命令', link: '/BuiltInCommands.html'},
{text: 'Mirai Console 附录', link: '/Appendix.html'},
{text: "插件 - JVM Plugin - 附录", link: "/plugin/JVMPlugin-Appendix.html"},
]
},
]
}