forked from iluwatar/java-design-patterns-vuepress-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
48 lines (41 loc) · 1.15 KB
/
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
import { defineUserConfig } from "vuepress";
import theme from "./theme.js";
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { registerComponentsPlugin } from '@vuepress/plugin-register-components'
export default defineUserConfig({
base: "/",
title: "Java Design Patterns",
description: "Design patterns are best practices a programmer can use to solve common problems when designing an application or system.",
locales: {
"/": {
lang: "en-US",
title: "Java Design Patterns",
description: "Java Design Patterns (English)",
},
"/zh/": {
lang: "zh-CN",
title: "Java Design Patterns (中文)",
description: "",
},
"/ko/": {
lang: "ko-KR",
title: "Java Design Patterns (한국어)",
description: "",
},
"/es/": {
lang: "es-ES",
title: "Patrones de Diseño Java",
description: "Patrones de Diseño Java (Español)",
},
},
theme,
shouldPrefetch: false,
plugins: [
googleAnalyticsPlugin({
id: 'G-CN4DXNE50P',
}),
registerComponentsPlugin({
componentsDir: 'src/.vuepress/components',
}),
],
});