Skip to content

Commit

Permalink
📝 试试流程图)
Browse files Browse the repository at this point in the history
  • Loading branch information
suyiiyii committed Oct 14, 2024
1 parent 7aac134 commit cdc8de9
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
import { defineUserConfig } from "vuepress";
import theme from "./theme.js";
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";

export default defineUserConfig({
base: "/",

lang: "zh-CN",
title: "NoneBot Bison",
description: "NoneBot Bison 文档",
plugins: [
mdEnhancePlugin({
mermaid: true,
}),
],

theme,

Expand Down
29 changes: 29 additions & 0 deletions docs/dev/cookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,33 @@ graph TD
A[获取订阅] --> B[获取订阅的Cookie]
B --> C[验证Cookie]
C --> D[返回Cookie]
```

```mermaid
zenuml
title 一份快递是如何投递的
Scheduler #661ae6
Platform #2b2d30
ClientManager #FFEBE6
DB #f26522
Internet #0747A6
@Starter(Scheduler)
Scheduler.exec_fetch{
Post = Platform.do_fetch_new_post(SubUnit) {
Platform.get_sub_list(Target){
client = ClientManager.get_client(Target){
choose(){
cookies = DB.get_cookies()
}
}
res = Internet.client.get(Target)
ClientManager.submit_status(){
DB.update()
}
}
}
}
```
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"vue": "^3.5.6",
"vuepress": "2.0.0-rc.15",
"vuepress-theme-hope": "2.0.0-rc.52"
},
"dependencies": {
"vuepress-plugin-md-enhance": "2.0.0-rc.57"
}
}

0 comments on commit cdc8de9

Please sign in to comment.