Skip to content

Commit

Permalink
🍻 更新
Browse files Browse the repository at this point in the history
  • Loading branch information
KomoriDev committed Aug 1, 2023
1 parent 326a57a commit 73173da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Sora Network 社区文档
# SoraBot 使用文档


## 开发&构建
> **Note**
> 请勿手动安装 `vite` 依赖,否则工作不正常(`vue` 选装)

> 本项目使用 **pnpm** 作为包管理器
> 如果你没有安装 **pnpm**,那你可以使用 `corepack enable` 命令来安装 **pnpm****yarn**
Expand All @@ -12,6 +15,8 @@
3. 开发环境使用命令 `pnpm serve` 启动服务器
4. 使用命令 `pnpm build` 生成最终页面

### 注意事项

1. 请勿手动安装 `vite` 依赖,否则工作不正常(`vue` 选装)


## 鸣谢
* [`GraiaCommunity/Docs`](https://github.com/GraiaCommunity/Docs):本文档主要样式参考
4 changes: 2 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
lastUpdated: true,

head: [
['link', { rel: 'shortcut icon', href: 'https://raw.githubusercontent.com/netsora/SoraBot/master/resources/logo.jpg' }],
['link', { rel: 'shortcut icon', href: 'https://ghproxy.com/https://raw.githubusercontent.com/netsora/SoraBot/master/resources/logo.jpg' }],
['script', { src: 'https://cdn.bootcdn.net/ajax/libs/mermaid/9.1.7/mermaid.min.js' }],
],

Expand Down Expand Up @@ -73,7 +73,7 @@ export default defineConfig({
],
},
editLink: {
pattern: 'https://github.com/netsora/SoraBot-website/edit/vitepress/docs/:path',
pattern: 'https://github.com/netsora/SoraBot-website/edit/master/docs/:path',
text: '在 GitHub 上编辑此页',
},
socialLinks: [
Expand Down

0 comments on commit 73173da

Please sign in to comment.