Skip to content

Commit f2ddfbd

Browse files
committed
update docs
1 parent a15deff commit f2ddfbd

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

docs/.vuepress/sidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const mySidebar: ThemeSidebarMulti = {
2828
collapsed: false,
2929
prefix: 'reference/',
3030
items: [
31-
{ text: '配置', link: 'config' },
31+
{ text: '配置', link: 'conf' },
3232
{ text: 'CLI', link: 'cli' },
3333
{ text: '模型', link: 'model' },
3434
{ text: 'Schema', link: 'schema' },

docs/backend/reference/config.md renamed to docs/backend/reference/conf.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,14 @@ GitHub 客户端 ID
436436

437437
GitHub 客户端密钥
438438

439+
### `OAUTH2_GOOGLE_CLIENT_ID` <Badge type="info" text="str" /> <Badge type="warning" text="env" />
440+
441+
Google 客户端 ID
442+
443+
### `OAUTH2_GOOGLE_CLIENT_SECRET` <Badge type="info" text="str" /> <Badge type="warning" text="env" />
444+
445+
Google 客户端密钥
446+
439447
### `OAUTH2_LINUX_DO_CLIENT_ID` <Badge type="info" text="str" /> <Badge type="warning" text="env" />
440448

441449
Linux Do 客户端 ID
@@ -444,6 +452,18 @@ Linux Do 客户端 ID
444452

445453
Linux Do 客户端密钥
446454

455+
### `OAUTH2_GITHUB_REDIRECT_URI` <Badge type="info" text="str" />
456+
457+
GitHub 重定向地址,必须与 GitHub OAuth Apps 配置保持一致
458+
459+
### `OAUTH2_GOOGLE_REDIRECT_URI` <Badge type="info" text="str" />
460+
461+
Google 重定向地址,必须与 Google OAuth 2.0 客户端配置保持一致
462+
463+
### `OAUTH2_LINUX_DO_REDIRECT_URI` <Badge type="info" text="str" />
464+
465+
Linux Do 重定向地址,必须与 Linux Do Connect 配置保持一致
466+
447467
### `OAUTH2_FRONTEND_REDIRECT_URI` <Badge type="info" text="str" />
448468

449469
登陆成功后,重定向到前端的地址

0 commit comments

Comments
 (0)