|
13 | 13 |
|
14 | 14 | /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ |
15 | 15 | const sidebars = { |
16 | | - // By default, Docusaurus generates a sidebar from the docs folder structure |
17 | | - minigames: [ |
18 | | - { |
19 | | - type: 'category', |
20 | | - label: 'Minigames', |
21 | | - items: [ |
22 | | - 'minigame/overview', |
| 16 | + // By default, Docusaurus generates a sidebar from the docs folder structure |
| 17 | + minigames: [ |
23 | 18 | { |
24 | | - /* Setup: [ |
25 | | - { |
26 | | - type: 'link', |
27 | | - label: 'Tutorial video', // The label that should be displayed (string). |
28 | | - href: 'https://tutorial.plugily.xyz/' // The target URL (string). |
29 | | - }, |
30 | | - 'villagedefense/setup/simple', |
31 | | - 'villagedefense/setup/cmdsandperms', |
32 | | - 'villagedefense/setup/maps', |
33 | | - ], |
34 | | - Placeholders: [ |
35 | | - 'villagedefense/placeholders/placeholderapi', |
36 | | - 'villagedefense/placeholders/scoreboard', |
37 | | - ], |
38 | | - Development: [ |
39 | | - 'villagedefense/development/api', |
40 | | - { |
41 | | - type: 'link', |
42 | | - label: 'JavaDocs', // The label that should be displayed (string). |
43 | | - href: 'https://jd.plugily.xyz/apidocs/minecraft/villagedefense/' // The target URL (string). |
44 | | - }, |
45 | | - { |
46 | | - type: 'link', |
47 | | - label: 'Maven', // The label that should be displayed (string). |
48 | | - href: 'https://maven.plugily.xyz/plugily/projects/villagedefense/' // The target URL (string). |
49 | | - }, |
50 | | - ], |
51 | | - Support: [ |
52 | | - { |
53 | | - type: 'link', |
54 | | - label: 'Discord support', // The label that should be displayed (string). |
55 | | - href: 'https://discord.plugily.xyz/' // The target URL (string). |
56 | | - }, |
57 | | - 'villagedefense/support/files', |
58 | | - 'villagedefense/support/faq.mdx', |
59 | | - 'villagedefense/support/servertips', |
60 | | - ], |
61 | | - Addon: [ |
62 | | - 'villagedefense/addon/overview', |
63 | | - 'villagedefense/addon/cmdsandperms', |
64 | | - 'villagedefense/addon/files', |
65 | | - 'villagedefense/addon/faq.mdx', |
66 | | - ],*/ |
| 19 | + type: 'category', |
| 20 | + label: 'Minigames', |
| 21 | + items: [ |
| 22 | + 'minigame/overview', |
| 23 | + 'minigame/placeholders', |
| 24 | + { |
| 25 | + Setup: [ |
| 26 | + { |
| 27 | + type: 'link', |
| 28 | + label: 'Tutorial video', // The label that should be displayed (string). |
| 29 | + href: 'https://tutorial.plugily.xyz/' // The target URL (string). |
| 30 | + }, |
| 31 | + 'minigame/setup/simple-setup', |
| 32 | + 'minigame/setup/cmdsandperms', |
| 33 | + 'minigame/setup/maps', |
| 34 | + ], |
| 35 | + Development: [ |
| 36 | + 'minigame/development/api', |
| 37 | + { |
| 38 | + type: 'link', |
| 39 | + label: 'JavaDocs', // The label that should be displayed (string). |
| 40 | + href: 'https://maven.plugily.xyz/' // The target URL (string). |
| 41 | + }, |
| 42 | + { |
| 43 | + type: 'link', |
| 44 | + label: 'Maven', // The label that should be displayed (string). |
| 45 | + href: 'https://maven.plugily.xyz/plugily/projects/' // The target URL (string). |
| 46 | + }, |
| 47 | + ], |
| 48 | + Support: [ |
| 49 | + { |
| 50 | + type: 'link', |
| 51 | + label: 'Discord support', // The label that should be displayed (string). |
| 52 | + href: 'https://discord.plugily.xyz/' // The target URL (string). |
| 53 | + }, |
| 54 | + 'minigame/support/files', |
| 55 | + 'minigame/support/faq', |
| 56 | + 'minigame/support/servertips', |
| 57 | + ], |
| 58 | + Addon: [ |
| 59 | + 'minigame/addon/overview', |
| 60 | + 'minigame/addon/cmdsandperms', |
| 61 | + 'minigame/addon/files', |
| 62 | + 'minigame/addon/faq', |
| 63 | + ], |
| 64 | + } |
| 65 | + ] |
67 | 66 | } |
68 | | - ] |
69 | | - } |
70 | | - ], |
71 | | - |
72 | | - // But you can create a sidebar manually |
73 | | - /* |
74 | | - tutorialSidebar: [ |
75 | | - 'intro', |
76 | | - 'hello', |
77 | | - { |
78 | | - type: 'category', |
79 | | - label: 'Tutorial', |
80 | | - items: ['tutorial-basics/create-a-document'], |
81 | | - }, |
82 | | - ], |
83 | | - */ |
| 67 | + ], |
84 | 68 | }; |
85 | 69 |
|
86 | 70 | module.exports = sidebars; |
0 commit comments