mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
add Hitokoto API add Closure for access_token add working_dir() global function adjust reply() method to .handle_quick_operation
106 lines
4.1 KiB
YAML
106 lines
4.1 KiB
YAML
site_name: 炸毛框架 v2
|
||
|
||
repo_name: '炸毛框架'
|
||
repo_url: 'https://github.com/zhamao-robot/zhamao-framework'
|
||
edit_uri: 'blob/master/docs/'
|
||
|
||
theme:
|
||
name: material
|
||
logo: assets/logos.png
|
||
favicon: assets/favicon.png
|
||
language: zh
|
||
palette:
|
||
primary: indigo
|
||
accent: indigo
|
||
features:
|
||
- navigation.tabs
|
||
extra_javascript:
|
||
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js
|
||
- javascripts/config.js
|
||
extra_css:
|
||
- assets/css/extra.css
|
||
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/default.min.css
|
||
markdown_extensions:
|
||
- admonition
|
||
- pymdownx.tabbed
|
||
- pymdownx.superfences
|
||
- pymdownx.inlinehilite
|
||
- pymdownx.snippets
|
||
- abbr
|
||
- pymdownx.highlight:
|
||
linenums: true
|
||
linenums_style: pymdownx.inline
|
||
extra:
|
||
version:
|
||
method: mike
|
||
|
||
copyright: 'Copyright © 2019 - 2021 CrazyBot Team <span class="tx-switch">
|
||
<button data-md-color-scheme="default"><code>默认模式</code></button>
|
||
<button data-md-color-scheme="slate"><code>暗黑模式</code></button>
|
||
</span>
|
||
|
||
<script>
|
||
var buttons = document.querySelectorAll("button[data-md-color-scheme]");
|
||
buttons.forEach(function(button) {
|
||
button.addEventListener("click", function() {
|
||
var attr = this.getAttribute("data-md-color-scheme");
|
||
setCookie("_theme", attr);
|
||
document.body.setAttribute("data-md-color-scheme", attr);
|
||
var name = document.querySelector("#__code_0 code span:nth-child(7)");
|
||
name.textContent = attr;
|
||
})
|
||
})
|
||
</script><br><a href="http://beian.miit.gov.cn">蒙ICP备18000198号-1</a>'
|
||
|
||
nav:
|
||
- 指南:
|
||
- 介绍: index.md
|
||
- 安装框架: guide/installation.md
|
||
- 快速上手(机器人篇): guide/quickstart-robot.md
|
||
- 快速上手(HTTP篇): guide/quickstart-http.md
|
||
- 选择聊天机器人实例: guide/onebot-choose.md
|
||
- 基本配置: guide/basic-config.md
|
||
- 编写模块: guide/write-module.md
|
||
- 注册事件响应: guide/register-event.md
|
||
- 事件和注解:
|
||
- 事件和注解: event/index.md
|
||
- 机器人注解事件: event/robot-annotations.md
|
||
- HTTP 路由注解事件: event/route-annotations.md
|
||
- 框架核心注解事件: event/framework-annotations.md
|
||
- 中间件注解: event/middleware.md
|
||
- 自定义注解: event/custom-annotations.md
|
||
- 事件分发器: event/event-dispatcher.md
|
||
- 框架组件:
|
||
- 框架组件: component/index.md
|
||
- 机器人 API: component/robot-api.md
|
||
- CQ 码(多媒体消息): component/cqcode.md
|
||
- 上下文: component/context.md
|
||
- 存储:
|
||
- LightCache 轻量缓存: component/light-cache.md
|
||
- MySQL 数据库: component/mysql.md
|
||
- Redis 数据库: component/redis.md
|
||
- ZMAtomic 原子计数器: component/atomics.md
|
||
- SpinLock 自旋锁: component/spin-lock.md
|
||
- 文件管理: component/data-provider.md
|
||
- 协程池: component/coroutine-pool.md
|
||
- 单例类: component/singleton-trait.md
|
||
- ZMUtil 杂项: component/zmutil.md
|
||
- 全局方法: component/global-functions.md
|
||
- HTTP 和 WebSocket 客户端: component/zmrequest.md
|
||
- Console 终端: component/console.md
|
||
- 进阶开发:
|
||
- 进阶开发: advanced/index.md
|
||
- 框架剖析: advanced/framework-structure.md
|
||
- 框架启动模式: advanced/custom-start.md
|
||
- 从 v1 升级: advanced/to-v2.md
|
||
- 内部类文件手册: advanced/inside-class.md
|
||
- 接入 WebSocket 客户端: advanced/connect-ws-client.md
|
||
- 框架多进程: advanced/multi-process.md
|
||
- 开发实战教程:
|
||
- 编写管理员才能触发的功能: advanced/example/admin.md
|
||
- FAQ: FAQ.md
|
||
- 更新日志:
|
||
- 更新日志(v2): update/v2.md
|
||
- 更新日志(v1): update/v1.md
|
||
- <u>炸毛框架 v1</u>: https://docs-v1.zhamao.xin/
|