Skip to content

Commit bb9fa5b

Browse files
committed
update docs
1 parent 2fc268d commit bb9fa5b

File tree

7 files changed

+588
-547
lines changed

7 files changed

+588
-547
lines changed

docs/.vuepress/bulletin.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import {BulletinOptions} from "vuepress-theme-plume";
2+
3+
export const myBulletin: BulletinOptions = {
4+
enablePage: true,
5+
title: '欢迎加入我们',
6+
content: `
7+
::: center
8+
9+
**Discord 服务器:** [Python 开发交流社区](https://discord.com/invite/yNN3wTbVAC)
10+
11+
<hr>
12+
13+
<iframe src="https://discord.com/widget?id=1185035164577972344&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
14+
15+
:::
16+
`,
17+
contentType: 'markdown'
18+
}

docs/.vuepress/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { defineClientConfig } from 'vuepress/client'
22
import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue'
33

4+
import './styles/custom.css'
5+
46
export default defineClientConfig({
57
enhance({ app }) {
68
app.component('RepoCard', RepoCard)

docs/.vuepress/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {mySidebar} from "./sidebar";
33
import {defineUserConfig} from "vuepress";
44
import plumeTheme from "vuepress-theme-plume";
55
import { viteBundler } from '@vuepress/bundler-vite'
6+
import {myBulletin} from "./bulletin";
67

78

89
export default defineUserConfig({
@@ -20,6 +21,7 @@ export default defineUserConfig({
2021
permalink: false,
2122
createTime: false,
2223
},
24+
bulletin: myBulletin,
2325
sidebar: mySidebar,
2426
navbar: myNavbar,
2527
logo: 'https://fastapi.tiangolo.com/img/favicon.png',

docs/.vuepress/styles/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:root {
2+
--vp-bulletin-width: 385px;
3+
}

docs/guide/mixin/user.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
---
22
title: MiXin
33
---
4+
5+
## TODO

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
"author": "",
1212
"license": "ISC",
1313
"devDependencies": {
14-
"@vuepress/bundler-vite": "2.0.0-rc.17",
15-
"sass-embedded": "^1.79.4",
16-
"vue": "^3.5.11",
17-
"vuepress": "2.0.0-rc.17",
18-
"vuepress-theme-plume": "1.0.0-rc.107"
14+
"@vuepress/bundler-vite": "2.0.0-rc.18",
15+
"sass-embedded": "^1.80.3",
16+
"vue": "^3.5.12",
17+
"vuepress": "2.0.0-rc.18",
18+
"vuepress-theme-plume": "1.0.0-rc.112"
1919
},
2020
"dependencies": {
21-
"@vuepress-plume/plugin-search": "1.0.0-rc.107",
22-
"@iconify/json": "^2.2.258"
21+
"@iconify/json": "^2.2.262",
22+
"@vuepress-plume/plugin-search": "1.0.0-rc.112"
2323
}
2424
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)