Skip to content

Commit ebf06fe

Browse files
committed
update docs
1 parent 9ab51e6 commit ebf06fe

File tree

1 file changed

+71
-67
lines changed

1 file changed

+71
-67
lines changed

docs/.vuepress/theme.ts

Lines changed: 71 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -4,75 +4,79 @@ import { myBulletin } from "./bulletin";
44
import { mySidebar } from "./sidebar";
55
import { myNavbar } from "./navbar";
66

7-
87
export const myTheme: Theme = plumeTheme({
9-
hostname: 'https://fastapi-practices.github.io/fastapi_best_architecture_docs/',
10-
logo: 'https://wu-clan.github.io/picx-images-hosting/logo/fba.png',
11-
docsRepo: 'https://github.com/fastapi-practices/fastapi_best_architecture_docs',
12-
docsBranch: 'master',
13-
docsDir: 'docs',
14-
collections: [
15-
{
16-
type: 'post',
17-
dir: 'blog',
18-
title: '博客',
19-
include: ['**/*.md'],
20-
}
21-
],
22-
profile: {
23-
name: 'wu-clan',
24-
description: 'An open-source enthusiast, creator and contributor',
25-
avatar: 'https://wu-clan.github.io/picx-images-hosting/avatar.gif',
26-
location: '郑州,河南',
27-
organization: 'FastAPI Practices',
28-
circle: true,
29-
layout: 'right',
30-
},
31-
bulletin: myBulletin,
32-
sidebar: mySidebar,
33-
sidebarScrollbar: false,
34-
navbar: myNavbar,
35-
autoFrontmatter: {
36-
title: true,
37-
permalink: false,
38-
createTime: false,
39-
},
40-
social: [
41-
{ icon: 'github', link: 'https://github.com/fastapi-practices/fastapi-best-architecture' },
42-
{
43-
icon: {
44-
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M11.984 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12a12 12 0 0 0 12-12A12 12 0 0 0 12 0zm6.09 5.333c.328 0 .593.266.592.593v1.482a.594.594 0 0 1-.593.592H9.777c-.982 0-1.778.796-1.778 1.778v5.63c0 .327.266.592.593.592h5.63c.982 0 1.778-.796 1.778-1.778v-.296a.593.593 0 0 0-.592-.593h-4.15a.59.59 0 0 1-.592-.592v-1.482a.593.593 0 0 1 .593-.592h6.815c.327 0 .593.265.593.592v3.408a4 4 0 0 1-4 4H5.926a.593.593 0 0 1-.593-.593V9.778a4.444 4.444 0 0 1 4.445-4.444h8.296Z"/></svg>`,
45-
name: 'gitee'
46-
},
47-
link: 'https://gitee.com/wu_clan/fastapi-best-architecture'
48-
},
49-
],
50-
navbarSocialInclude: ['github', 'gitee'],
51-
editLinkText: '编辑此页面',
52-
lastUpdated: false,
53-
contributors: false,
54-
//watermark: true,
55-
markdown: {
56-
chat: true,
57-
mermaid: true,
58-
bilibili: true,
8+
hostname:
9+
"https://fastapi-practices.github.io/fastapi_best_architecture_docs/",
10+
logo: "https://wu-clan.github.io/picx-images-hosting/logo/fba.png",
11+
docsRepo:
12+
"https://github.com/fastapi-practices/fastapi_best_architecture_docs",
13+
docsBranch: "master",
14+
docsDir: "docs",
15+
collections: [
16+
{
17+
type: "post",
18+
dir: "blog",
19+
title: "博客",
20+
include: ["**/*.md"],
5921
},
60-
codeHighlighter: {
61-
themes: {
62-
dark: 'one-dark-pro',
63-
light: 'one-light'
64-
}
22+
],
23+
profile: {
24+
name: "wu-clan",
25+
description: "An open-source enthusiast, creator and contributor",
26+
avatar: "https://wu-clan.github.io/picx-images-hosting/avatar.gif",
27+
location: "郑州,河南",
28+
organization: "FastAPI Practices",
29+
circle: true,
30+
layout: "right",
31+
},
32+
bulletin: myBulletin,
33+
sidebar: mySidebar,
34+
sidebarScrollbar: false,
35+
navbar: myNavbar,
36+
autoFrontmatter: {
37+
title: true,
38+
permalink: false,
39+
createTime: false,
40+
},
41+
social: [
42+
{
43+
icon: "github",
44+
link: "https://github.com/fastapi-practices/fastapi-best-architecture",
6545
},
66-
comment: {
67-
provider: 'Giscus',
68-
comment: true,
69-
repo: 'fastapi-practices/fastapi_best_architecture_docs',
70-
repoId: 'R_kgDOMv5sMQ',
71-
category: 'Comment',
72-
categoryId: 'DIC_kwDOMv5sMc4CmLp9',
73-
lazyLoading: true,
46+
{
47+
icon: {
48+
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M11.984 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12a12 12 0 0 0 12-12A12 12 0 0 0 12 0zm6.09 5.333c.328 0 .593.266.592.593v1.482a.594.594 0 0 1-.593.592H9.777c-.982 0-1.778.796-1.778 1.778v5.63c0 .327.266.592.593.592h5.63c.982 0 1.778-.796 1.778-1.778v-.296a.593.593 0 0 0-.592-.593h-4.15a.59.59 0 0 1-.592-.592v-1.482a.593.593 0 0 1 .593-.592h6.815c.327 0 .593.265.593.592v3.408a4 4 0 0 1-4 4H5.926a.593.593 0 0 1-.593-.593V9.778a4.444 4.444 0 0 1 4.445-4.444h8.296Z"/></svg>`,
49+
name: "gitee",
50+
},
51+
link: "https://gitee.com/fastapi-practices/fastapi-best-architecture",
7452
},
75-
llmstxt: {
76-
locale: '/'
53+
],
54+
navbarSocialInclude: ["github", "gitee"],
55+
editLinkText: "编辑此页面",
56+
lastUpdated: false,
57+
contributors: false,
58+
//watermark: true,
59+
markdown: {
60+
chat: true,
61+
mermaid: true,
62+
bilibili: true,
63+
},
64+
codeHighlighter: {
65+
themes: {
66+
dark: "one-dark-pro",
67+
light: "one-light",
7768
},
78-
})
69+
},
70+
comment: {
71+
provider: "Giscus",
72+
comment: true,
73+
repo: "fastapi-practices/fastapi_best_architecture_docs",
74+
repoId: "R_kgDOMv5sMQ",
75+
category: "Comment",
76+
categoryId: "DIC_kwDOMv5sMc4CmLp9",
77+
lazyLoading: true,
78+
},
79+
llmstxt: {
80+
locale: "/",
81+
},
82+
});

0 commit comments

Comments
 (0)