Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	docs/zh-CN/develop/api.md
  • Loading branch information
linyuchen committed Nov 16, 2024
2 parents f2a165d + b24e3d3 commit 8b5d4e7
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 17 deletions.
18 changes: 14 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
node_modules
docs/.vitepress/cache
docs/.vitepress/dist
.yarn
package-lock.json
node_modules/*
docs/.vitepress/cache/*
docs/.vitepress/dist/*
.vscode/*
yarn.lock

.eslintcache
.DS_Store
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion docs/.vitepress/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function sidebarGuide() {
{ text: '快速开始', link: 'guide/getting-started', activeMatch: '/zh-CN/guide/' },
{ text: '对接配置', link: 'guide/configuration', activeMatch: '/zh-CN/guide/' },
{ text: '开发对接', link: 'develop/quick-start', activeMatch: '/zh-CN/develop/quick-start' },
{ text: 'API示例', link: 'develop/api', activeMatch: '/zh-CN/develop/api' },
{ text: 'API 示例', link: 'develop/api', activeMatch: '/zh-CN/develop/api' },
{ text: '常见问题', link: 'guide/faq', activeMatch: '/zh-CN/guide/' },
{ text: '从零安装 NoneBot2', link: 'guide/nonebot2', activeMatch: '/zh-CN/guide/' }
]
Expand Down
1 change: 1 addition & 0 deletions docs/zh-CN/develop/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ LLOneBot 实现了 OneBot 11 以及 go-cqhttp 的大部分 API
| 获取群公告 | _get_group_notice ||
| 删除好友 | delete_friend ||
| 图片 OCR | ocr_image ||
| 获取群文件系统信息 | get_group_file_system_info ||

### LLOneBot

Expand Down
8 changes: 2 additions & 6 deletions docs/zh-CN/guide/configuration.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# 配置

## 对接其他框架

::: details 配置 Koishi
## 接入 Koishi 的 adapter-onebot

#### 1. 在 Koishi 插件市场搜索并安装 adapter-onebot

Expand Down Expand Up @@ -31,9 +29,7 @@ adapter-onebot 的 WS 反向地址为 `ws://127.0.0.1:5140/onebot`

点击保存即可

:::

::: details 配置 NoneBot
## 接入 NoneBot 的 adapter-onebot

#### 1. 配置 NoneBot

Expand Down
2 changes: 0 additions & 2 deletions docs/zh-CN/guide/nonebot2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Windows 下使用 LLOneBot 链接 NoneBot2

推荐使用 [nonebot-plugin-llob-master](https://github.com/kanbereina/nonebot-plugin-llob-master) 插件自动管理安装 LLOneBot

## 1. 环境

**Python 版本 >= 3.9**
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
},
"author": "",
"devDependencies": {
"@types/node": "^22.5.3",
"vitepress": "^1.3.4",
"vue": "^3.5.1"
}
"@types/node": "^22.8.6",
"vitepress": "^1.4.3",
"vue": "^3.5.12"
},
"packageManager": "yarn@4.5.1"
}

0 comments on commit 8b5d4e7

Please sign in to comment.