1- import { defineConfig } from 'vitepress'
1+ import { defineConfig } from 'vitepress'
22
33// https://vitepress.dev/reference/site-config
44export default defineConfig ( {
5- title : 'Mockbukkit' ,
5+ title : 'Mockbukkit Docs' ,
6+ description : "Documentation for Mockbukkit, a powerful and flexible Mocking framework for Minecraft plugins." ,
67
8+ head : [
9+ [ 'link' , { rel : 'icon' , href : './favicon.ico' } ] ,
10+ ] ,
711 themeConfig : {
812 // https://vitepress.dev/reference/default-theme-config
913 nav : [
10- { text : 'Home' , link : '/' } ,
11- { text : 'Getting Started' , link : 'docs/en/user_guide/introduction/getting_started' } ,
12- { text : 'Contribution Guides' , link : 'docs/en/contribution/maintainers/pr_guide' } ,
14+ { text : 'Home' , link : '/' } ,
15+ { text : 'Getting Started' , link : 'docs/en/user_guide/introduction/getting_started' } ,
16+ { text : 'Contribution Guides' , link : 'docs/en/contribution/maintainers/pr_guide' } ,
1317 ] ,
1418 logo : '/images/mockbukkit_logo.png' ,
1519 editLink : {
@@ -26,29 +30,29 @@ export default defineConfig({
2630 text : 'Introduction' ,
2731 collapsed : false ,
2832 items : [
29- { text : 'Getting Started' , link : 'docs/en/user_guide/introduction/getting_started' } ,
30- { text : 'Writing your first test' , link : 'docs/en/user_guide/introduction/first_test' } ,
31- { text : 'Create a World Mock' , link : 'docs/en/user_guide/introduction/mock_world.md' } ,
33+ { text : 'Getting Started' , link : 'docs/en/user_guide/introduction/getting_started' } ,
34+ { text : 'Writing your first test' , link : 'docs/en/user_guide/introduction/first_test' } ,
35+ { text : 'Create a World Mock' , link : 'docs/en/user_guide/introduction/mock_world.md' } ,
3236 ]
3337 } ,
3438 {
3539 text : "Entities" ,
3640 collapsed : false ,
3741 items : [
38- { text : 'Entities' , link : 'docs/en/user_guide/entities/entity' } ,
39- { text : 'Player' , link : 'docs/en/user_guide/entities/player' } ,
40- { text : 'MessageTarget' , link : 'docs/en/user_guide/entities/message_target' } ,
42+ { text : 'Entities' , link : 'docs/en/user_guide/entities/entity' } ,
43+ { text : 'Player' , link : 'docs/en/user_guide/entities/player' } ,
44+ { text : 'MessageTarget' , link : 'docs/en/user_guide/entities/message_target' } ,
4145 ]
4246 } ,
4347
4448 {
4549 text : "Advanced Topics" ,
4650 collapsed : false ,
4751 items : [
48- { text : 'Scheduler' , link : 'docs/en/user_guide/advanced/scheduler' } ,
49- { text : 'Events' , link : 'docs/en/user_guide/advanced/events' } ,
50- { text : 'Custom ServerMock' , link : 'docs/en/user_guide/advanced/custom_server_mock' } ,
51- { text : 'Adventure' , link : 'docs/en/user_guide/advanced/adventure' }
52+ { text : 'Scheduler' , link : 'docs/en/user_guide/advanced/scheduler' } ,
53+ { text : 'Events' , link : 'docs/en/user_guide/advanced/events' } ,
54+ { text : 'Custom ServerMock' , link : 'docs/en/user_guide/advanced/custom_server_mock' } ,
55+ { text : 'Adventure' , link : 'docs/en/user_guide/advanced/adventure' }
5256 ]
5357 } ,
5458 {
@@ -73,19 +77,25 @@ export default defineConfig({
7377 text : "For Maintainers" ,
7478 collapsed : false ,
7579 items : [
76- { text : "Maintainer PR Guide" , link : 'docs/en/contribution/maintainers/pr_guide' } ,
80+ { text : "Maintainer PR Guide" , link : 'docs/en/contribution/maintainers/pr_guide' } ,
7781 ]
7882 }
7983 ]
8084 } ,
8185
8286 socialLinks : [
83- { icon : 'github' , link : 'https://github.com/Mockbukkit/Mockbukkit' } ,
84- { icon : 'discord' , link : 'https://discord.gg/Xunsn6D8MB' } ,
87+ { icon : 'github' , link : 'https://github.com/Mockbukkit/Mockbukkit' } ,
88+ { icon : 'discord' , link : 'https://discord.gg/Xunsn6D8MB' } ,
8589 ] ,
8690 footer : {
8791 message : 'Released under the MIT License.' ,
8892 copyright : 'Copyright © 2017-2024 Mockbukkit'
8993 }
94+ } ,
95+ ignoreDeadLinks : [
96+ / ^ h t t p s ? : \/ \/ l o c a l h o s t / ,
97+ ] ,
98+ vite : {
99+ publicDir : "./public"
90100 }
91101} )
0 commit comments