Skip to content

Commit

Permalink
doc: update
Browse files Browse the repository at this point in the history
  • Loading branch information
idranme committed Nov 3, 2024
1 parent 03e7c67 commit 69674e0
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 15 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
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
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": "[email protected]"
}

0 comments on commit 69674e0

Please sign in to comment.