Skip to content

Commit 3722f7d

Browse files
committed
update docs
1 parent dbfc876 commit 3722f7d

File tree

6 files changed

+783
-1004
lines changed

6 files changed

+783
-1004
lines changed

docs/backend/reference/oauth2.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
title: OAuth 2.0
33
---
44

5+
我们在 fba 中使用 [fastapi-oauth20](https://github.com/fastapi-practices/fastapi-oauth20) 集成 OAuth 2.0,您可以在
6+
`backend/app/admin/api/v1/oauth2` 目录中查看我们的官方实现示例
7+
8+
::: note
59
此授权方式适用于第三方平台认证登录,第三方授权成功后,将依据第三方平台信息自动创建本地用户并自动授权登录,用户只需同意第三方授权即可
610

711
但是,想要使用此方式进行授权,你需要先了解 OAuth 2.0 相关知识,并遵循第三方平台认证要求,获取第三方平台授权密钥,最终,手动编码完成集成
8-
9-
我们在 fba 中使用 [fastapi-oauth20](https://github.com/fastapi-practices/fastapi-oauth20) 集成 OAuth 2.0,您可以在
10-
`backend/app/admin/api/v1/oauth2` 目录中查看我们的官方实现示例
12+
:::

docs/backend/summary/fsm.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@ FastAPI 三层架构脚手架精简版的更新可能并不同步,你可能无
88

99
## SQLAlchemy
1010

11-
==推荐== 如果您正在使用 SQLAlchemy,请使用以下版本,并且它的维护频率较高,且由 fba 作者积极维护
11+
如果您正在使用 SQLAlchemy,请使用以下版本,它由 fba 作者维护,并且维护频率较高
1212

1313
<RepoCard repo="fastapi-practices/fastapi_sqlalchemy_mysql" />
1414

1515
## Tortoise-ORM
1616

17-
==不太推荐=={.note} 如果您正在使用 Tortoise-ORM(或您是一位 Django 资深用户,并深爱 Django-ORM),请使用以下版本,但此版本缺少维护人员
17+
如果您正在使用 Tortoise-ORM,请使用以下版本,但此版本缺少维护人员
1818

19-
<RepoCard repo="fastapi-practices/fastapi_tortoise_mysql" />
20-
21-
## SQLModel
22-
23-
==不推荐=={.warning} SQLModel 是 FastAPI 作者创建的 ORM 框架,整合了 SQLAlchemy 和 Pydantic,如果您喜欢强耦合开发,请使用以下版本,但此版本基本没有维护
24-
25-
<RepoCard repo="fastapi-practices/fastapi_sqlmodel_mysql" />
19+
<RepoCard repo="fastapi-practices/fastapi_tortoise_mysql" />

docs/planet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: 知识星球
1111

1212
</div>
1313

14-
::: details 如果您觉得还不错,欢迎正式加入订阅
14+
::: details 扫码订阅
1515

1616
<div align="center">
1717
<p style="color: #fd7600">我们在节假日会在 Discord 社区统一发送大额优惠券,敬请关注</p>

docs/sponsors.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,30 @@ fba 是一款基于 FastAPI 框架的后端架构解决方案,遵循伪三层
1111

1212
## 无偿赞助
1313

14-
您可以通过此链接 [null](https://wu-clan.github.io/sponsor/) 请 fba 作者喝杯奶茶/咖啡,不胜感激
14+
<a href="https://wu-clan.github.io/sponsor/"
15+
target="_blank"
16+
rel="noopener noreferrer"
17+
style="
18+
padding: 10px 20px;
19+
background: #2F1B05;
20+
color: white;
21+
border-radius: 5px 20px;
22+
font-family: sans-serif;
23+
text-decoration: none;
24+
border: 1px solid #5D3408;
25+
display: inline-block;
26+
">☕ 来份美式吃苦套餐</a>
1527

1628
::: info
1729
我在 Linux Do 发了一篇主题:[FastAPI 最佳架构](https://linux.do/t/topic/470425?u=wu-clan)
1830

19-
欢迎社区大佬们进行点评,如果您觉得项目还不错,请赞助我们一颗小心心吧 <Icon name="twemoji:sparkling-heart" />
31+
欢迎社区大佬们进行点评,如果您觉得项目还不错,请赞助主题一颗小心心吧 <Icon name="twemoji:sparkling-heart" />
2032
:::
2133

2234
## 有偿赞助
2335

24-
您可以加入我们创建的 [知识星球](https://t.zsxq.com/PDk8b)获取星球内提供的独家内容,另外,我们会为您添加 Discord
25-
身份标签,以便您可以查看专属频道,针对标签用户,我们还可以提供一对一线上指导,远程支持等...
36+
您可以加入我们创建的 [知识星球](https://t.zsxq.com/PDk8b)获取星球内提供的 [独家内容](./planet.md),另外,
37+
我们会为您添加 Discord 身份标签,以便您可以查看专属频道,针对标签用户,我们还可以提供一对一线上指导,远程支持
2638

2739
::: warning
2840
我们不保证星球内容的更新频率,您可以依据 [知识星球退款规则](https://support.zsxq.com/refundRules.html)
@@ -32,12 +44,12 @@ fba 是一款基于 FastAPI 框架的后端架构解决方案,遵循伪三层
3244

3345
## 展位赞助商
3446

35-
您可以通过[互动](https://wu-clan.github.io/homepage/)内任意联系方式就展位的详细事宜与 fba 作者进行沟通
47+
您可以通过 [作者主页](https://wu-clan.github.io/homepage/) 内任意联系方式就展位的详细事宜与 fba 作者进行沟通
3648

37-
| 展位 | 名额 | 费用 | 展位 | 素材 |
38-
|:----:|:--:|:-------:|:-----------------------------------|:---------------------:|
39-
| 特别展位 | 3 | ¥69 / 月 | 1. 首页信息展播展示位 <br /> 2. 文档右侧边栏大号展示位 | 赞助商名称、图片链接(16:9)、跳转链接 |
40-
| 普通展位 | 6 | ¥39 / 月 | 1. 首页滚动展示位 <br /> 2. 文档右侧边栏小号展示位 | 赞助商名称、图片链接(16:9)、跳转链接 |
49+
| 展位 | 名额 | 费用 | 展位 | 素材 |
50+
| :------: | :--: | :--------: | :----------------------------------------------------- | :----------------------------------: |
51+
| 特别展位 | 3 | 69 / 月 | 1. 首页信息展播展示位 <br /> 2. 文档右侧边栏大号展示位 | 赞助商名称、图片链接(16:9)、跳转链接 |
52+
| 普通展位 | 6 | 39 / 月 | 1. 首页滚动展示位 <br /> 2. 文档右侧边栏小号展示位 | 赞助商名称、图片链接(16:9)、跳转链接 |
4153

4254
::: info 访问统计
4355

@@ -49,7 +61,7 @@ fba 是一款基于 FastAPI 框架的后端架构解决方案,遵循伪三层
4961
选择【特别展位】赞助,可帮助您的产品在 Discord 社区以公告的形式进行推广一次
5062

5163
- 优先推广和程序员相关的互联网产品,比如:低代码开发平台、网课、开发软件、云服务器、个人博客等等,实体产品如键盘、显示器、耳机等等,如果是和程序员无关的产品,可酌情考虑是否推广
52-
- 拒绝接受违反法律法规、以及灰色相关的产品推广(GPT相关不包含在内
64+
- 拒绝接受违反法律法规、以及灰色相关的产品推广(GPT 相关不包含在内
5365

5466
公告消息如下:
5567

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
"author": "wu-clan",
1414
"license": "MIT",
1515
"devDependencies": {
16-
"@vuepress/bundler-vite": "2.0.0-rc.20",
17-
"@vuepress/plugin-baidu-analytics": "2.0.0-rc.91",
18-
"@vuepress/plugin-google-analytics": "2.0.0-rc.80",
19-
"@vuepress/plugin-umami-analytics": "2.0.0-rc.91",
16+
"@vuepress/bundler-vite": "2.0.0-rc.21",
17+
"@vuepress/plugin-baidu-analytics": "2.0.0-rc.94",
18+
"@vuepress/plugin-google-analytics": "2.0.0-rc.94",
19+
"@vuepress/plugin-umami-analytics": "2.0.0-rc.94",
2020
"vue": "^3.5.13",
21-
"vuepress": "2.0.0-rc.20",
22-
"vuepress-theme-plume": "1.0.0-rc.138"
21+
"vuepress": "2.0.0-rc.21",
22+
"vuepress-theme-plume": "1.0.0-rc.141"
2323
},
2424
"dependencies": {
25-
"@iconify/json": "^2.2.323",
25+
"@iconify/json": "^2.2.328",
2626
"@vueuse/core": "^12.8.2",
2727
"mermaid": "^11.6.0",
2828
"swiper": "^11.2.6"

0 commit comments

Comments
 (0)