📝 add advanced and changelog

This commit is contained in:
yanyongyu 2020-11-18 08:48:23 +08:00
parent 42e714ee7d
commit e6268f319d
8 changed files with 40 additions and 7 deletions

View File

@ -79,8 +79,10 @@ module.exports = context => ({
nav: [
{ text: "主页", link: "/" },
{ text: "指南", link: "/guide/" },
{ text: "进阶", link: "/advanced/" },
{ text: "API", link: "/api/" },
{ text: "插件广场", link: "/plugin-store" }
{ text: "插件广场", link: "/plugin-store" },
{ text: "更新日志", link: "/changelog" }
],
sidebarDepth: 2,
sidebar: {
@ -110,6 +112,19 @@ module.exports = context => ({
]
}
],
"/advanced/": [
{
title: "进阶",
collapsable: false,
sidebar: "auto",
children: [
"",
"scheduler",
"permission",
"runtime-hook"
]
}
],
"/api/": [
{
title: "NoneBot Api Reference",

7
docs/advanced/README.md Normal file
View File

@ -0,0 +1,7 @@
# 深入
## 它如何工作?
<!-- TODO: how to work -->
~~未填坑~~

View File

@ -0,0 +1 @@
# 权限控制

View File

@ -0,0 +1 @@
# 运行时插槽

View File

@ -0,0 +1 @@
# 定时任务

View File

@ -18,12 +18,6 @@ NoneBot2 是一个可扩展的 Python 异步机器人框架,它会对机器人
需要注意的是NoneBot 仅支持 Python 3.7+ 及 CQHTTP(OneBot) 插件 v11+。
## 它如何工作?
<!-- TODO: how to work -->
~~未填坑~~
## 特色
- 提供直观的测试前端

View File

@ -5,3 +5,5 @@
- 请千万注意事件处理器的优先级设定
- 在匹配规则中请勿使用耗时极长的函数
- 同一个用户可以**跨群**(**私聊**)继续他的事件处理(除非做出权限限制,将在后续介绍)
如果你还不能满足,前往 [进阶](../advanced/README.md) 获得更多的功能信息。

12
pages/changelog.md Normal file
View File

@ -0,0 +1,12 @@
---
sidebar: auto
---
# 更新日志
## v2.0.0a6
## v2.0.0a5
- 更新插件指南文档
- 修复临时事件响应器运行后删除造成的多次响应问题