-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvite.config.js
71 lines (68 loc) · 1.83 KB
/
vite.config.js
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
62
63
64
65
66
67
68
69
70
71
import { defaultTheme } from '@sveltepress/theme-default'
import { sveltepress } from '@sveltepress/vite'
import { defineConfig } from 'vite'
import coreSidebar from "./config/sidebar/core"
import netherportalsSidebar from './config/sidebar/netherportals'
import inventoriesSidebar from './config/sidebar/inventories'
import portalsSidebar from './config/sidebar/portals'
import signportalsSidebar from './config/sidebar/signportals'
const config = defineConfig({
plugins: [
sveltepress({
theme: defaultTheme({
themeColor: {
primary: '#1aa4b8',
hover: '#1a8cb8',
gradient: {
start: '#62cff4',
end: '#2c67f2'
}
},
preBuildIconifyIcons: {
'vscode-icons': ['file-type-libreoffice-writer', 'file-type-bazel']
},
highlighter: {
languages: ['svelte', 'sh', 'js', 'html', 'ts', 'md', 'css', 'scss', 'yaml']
},
navbar: [
{
title: 'Core',
to: '/core/getting-started/introduction/'
},
{
title: 'NetherPortals',
to: '/netherportals/introduction/'
},
{
title: 'Portals',
to: '/portals/introduction/'
},
{
title: 'Inventories',
to: '/inventories/introduction/'
},
{
title: 'SignPortals',
to: '/signportals/introduction/'
}
],
sidebar: {
"/core/": coreSidebar,
"/netherportals/": netherportalsSidebar,
"/inventories/": inventoriesSidebar,
"/portals/": portalsSidebar,
"/signportals/": signportalsSidebar
},
editLink: 'https://github.com/Multiverse/multiverse-web/edit/main/src/routes/:route',
github: 'https://github.com/Multiverse',
discord: 'https://discord.gg/NZtfKky',
logo: '/multiverse.png',
}),
siteConfig: {
title: 'Multiverse',
description: 'The original Bukkit Multi-World Plugin!',
},
}),
],
})
export default config