Skip to content

Commit a1cb91f

Browse files
committed
update docs
1 parent 7c31a71 commit a1cb91f

File tree

4 files changed

+60
-2
lines changed

4 files changed

+60
-2
lines changed

docs/.vuepress/config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import {defineUserConfig} from "vuepress";
44
import plumeTheme from "vuepress-theme-plume";
55
import {viteBundler} from '@vuepress/bundler-vite'
66
import {myBulletin} from "./bulletin";
7+
import {baiduAnalyticsPlugin} from "@vuepress/plugin-baidu-analytics";
8+
import {googleAnalyticsPlugin} from "@vuepress/plugin-google-analytics";
79

810

911
export default defineUserConfig({
@@ -13,6 +15,14 @@ export default defineUserConfig({
1315
head: [
1416
['link', {rel: 'icon', href: 'https://wu-clan.github.io/picx-images-hosting/logo/fba.svg'}]
1517
],
18+
plugins: [
19+
baiduAnalyticsPlugin({
20+
id: '6202e3701ae5a932577a1cf195084e9e'
21+
}),
22+
googleAnalyticsPlugin({
23+
id: 'G-WVH2LQEPKY'
24+
})
25+
],
1626
theme: plumeTheme({
1727
hostname: 'https://fastapi-practices.github.io/fastapi_best_architecture_docs/',
1828
blog: false,
@@ -56,4 +66,5 @@ export default defineUserConfig({
5666
},
5767
}),
5868
bundler: viteBundler(),
69+
shouldPrefetch: false,
5970
})

docs/sponsors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FBA 基于 MIT 开源协议,您可以查看我们的[授权协议](/guide/summ
1717
## 有偿赞助
1818

1919
您可以加入我们创建的 [知识星球](https://t.zsxq.com/PDk8b),获取星球内提供的独家内容,另外,我们会为您添加 Discord
20-
身份标签,以便于后期进行活动投票,线上指导,远程支持等等...
20+
身份标签,以便将您加入专属频道,针对标签用户,我们还可以提供一对一线上指导,远程支持等...
2121

2222
请注意,我们不保证星球内容的更新频率,您可以==依据星球规则进行全额退款==
2323

@@ -26,7 +26,7 @@ FBA 基于 MIT 开源协议,您可以查看我们的[授权协议](/guide/summ
2626
本站提供赞助商展示位,为您的产品或品牌提供一个通过 FBA 进行宣传展示的通道,通过展位赞助在本站对应的展示位置放置您的
2727
LOGO 及跳转链接
2828

29-
您可以通过[任意渠道](https://wu-clan.github.io/homepage/)就展示位的详细事宜与 FBA 作者进行沟通
29+
您可以通过[互动](https://wu-clan.github.io/homepage/)就展示位的详细事宜与 FBA 作者进行沟通
3030

3131
| 展位 | 名额 | 费用 | 展位 | 素材 |
3232
|:----:|:--:|:------:|:---------------------------------|:---------------------:|

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"license": "MIT",
1515
"devDependencies": {
1616
"@vuepress/bundler-vite": "2.0.0-rc.19",
17+
"@vuepress/plugin-baidu-analytics": "2.0.0-rc.68",
18+
"@vuepress/plugin-google-analytics": "2.0.0-rc.66",
1719
"sass-embedded": "^1.83.0",
1820
"vue": "^3.5.13",
1921
"vuepress": "2.0.0-rc.19",

pnpm-lock.yaml

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)