1
- import { defineConfig } from 'vitepress'
1
+ import { defineConfig } from 'vitepress'
2
2
3
- import { withMermaid } from 'vitepress-plugin-mermaid' ;
3
+ import { withMermaid } from 'vitepress-plugin-mermaid' ;
4
4
5
5
import footnote from 'markdown-it-footnote'
6
6
7
7
// https://vitepress.dev/reference/site-config
8
8
const config = defineConfig ( {
9
9
title : "Hyperion" ,
10
10
description : "The most advanced Minecraft game engine built in Rust" ,
11
- base : "/hyperion/" ,
12
11
markdown : {
13
12
math : true ,
14
13
config : ( md ) => {
@@ -18,29 +17,29 @@ const config = defineConfig({
18
17
themeConfig : {
19
18
// https://vitepress.dev/reference/default-theme-config
20
19
nav : [
21
- { text : 'Home' , link : '/' } ,
22
- { text : 'Architecture' , link : '/architecture/introduction' } ,
23
- { text : 'Tag' , link : '/tag/introduction' } ,
20
+ { text : 'Home' , link : '/' } ,
21
+ { text : 'Architecture' , link : '/architecture/introduction' } ,
22
+ { text : 'Tag' , link : '/tag/introduction' } ,
24
23
] ,
25
24
26
25
sidebar : [
27
26
{
28
27
text : 'Architecture' ,
29
28
items : [
30
- { text : 'Introduction' , link : '/architecture/introduction' } ,
31
- { text : 'Game Server' , link : '/architecture/game-server' } ,
32
- { text : 'Proxy' , link : '/architecture/proxy' } ,
29
+ { text : 'Introduction' , link : '/architecture/introduction' } ,
30
+ { text : 'Game Server' , link : '/architecture/game-server' } ,
31
+ { text : 'Proxy' , link : '/architecture/proxy' } ,
33
32
]
34
33
} ,
35
34
{
36
35
text : 'Tag' ,
37
36
items : [
38
- { text : '10,000 Player PvP' , link : '/tag/introduction' } ,
37
+ { text : '10,000 Player PvP' , link : '/tag/introduction' } ,
39
38
]
40
39
}
41
40
] ,
42
41
socialLinks : [
43
- { icon : 'github' , link : 'https://github.com/hyperion-mc/hyperion' }
42
+ { icon : 'github' , link : 'https://github.com/hyperion-mc/hyperion' }
44
43
]
45
44
}
46
45
} )
0 commit comments