-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.ts
61 lines (57 loc) · 1.53 KB
/
docusaurus.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import type * as Preset from "@docusaurus/preset-classic";
import type { Config } from "@docusaurus/types";
import { themes as prismThemes } from "prism-react-renderer";
const organizationName = "vdcruxfrontend";
const projectName = "studyblog";
const config: Config = {
title: "스터디 블로그",
favicon: "img/favicon.ico",
url: `https://${organizationName}.github.io`,
baseUrl: `/${projectName}/`,
deploymentBranch: "gh-pages",
organizationName,
projectName,
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
trailingSlash: false,
i18n: {
defaultLocale: "ko",
locales: ["ko"]
},
presets: [
[
"classic",
{
blog: {
showReadingTime: true,
editUrl: `https://github.com/${organizationName}/${projectName}/tree/main/`
},
theme: {
customCss: "./src/css/custom.css"
}
} satisfies Preset.Options
]
],
themeConfig: {
image: "img/docusaurus-social-card.jpg",
navbar: {
title: "VDCrux 프론트팀 스터디 블로그",
items: [
{ to: "/blog", label: "Blog", position: "left" },
{
href: `https://github.com/${organizationName}/${projectName}/`,
label: "GitHub",
position: "right"
}
]
},
footer: {
copyright: `Copyright © ${new Date().getFullYear()} 브이디크럭스 프론트엔드 팀`
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula
}
} satisfies Preset.ThemeConfig
};
export default config;