-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
saber-config.js
73 lines (69 loc) · 3.05 KB
/
saber-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
72
73
const git = require("git-state");
let commit;
try {
commit = git.commitSync(__dirname);
} catch (e) {
commit = null;
console.error("Could not determine current commit", e);
}
module.exports = {
siteConfig: {
title: "EssentialsX",
description: "The essential plugin for Spigot servers",
lang: "en",
commitHash: commit
},
themeConfig: {
wikiSidebar: {
"Getting Started": [
{ label: "Introduction", link: "/wiki/Home.html" },
{ label: "Installing EssentialsX", link: "/wiki/Installing-EssentialsX.html" },
{ label: "Module Breakdown", link: "/wiki/Module-Breakdown.html" },
{ label: "Improvements over Essentials", link: "/wiki/Improvements.html" },
{ label: "Translations and Custom Messages", link: "/wiki/Locale.html" },
{ label: "Frequently Asked Questions", link: "/wiki/Common-Issues.html" }
],
"Configuring EssentialsX": [
{ label: "Command Cooldowns", link: "/wiki/Command-Cooldowns.html" },
{ label: "Color Permissions", link: "/wiki/Color-Permissions.html" },
{ label: "Customising /list", href: "https://wiki.mc-ess.net/wiki/List" },
{ label: "EssentialsX Discord Setup Guide", link: "/wiki/Discord-Tutorial.html" },
],
"Using EssentialsX": [
{ label: "Signs", href: "https://wiki.mc-ess.net/wiki/Sign_Tutorial" },
{ label: "Banner Meta", link: "/wiki/BannerMeta.html" },
],
Modules: [
{ label: "AntiBuild", href: "https://wiki.mc-ess.net/wiki/AntiBuild" },
{ label: "Chat", link: "/wiki/Module-Breakdown.html#essentialsx-chat" },
{ label: "Discord", link: "/wiki/Module-Breakdown.html#essentialsx-discord" },
{ label: "Discord Link (NEW)", link: "/wiki/Module-Breakdown.html#essentialsx-discord-link" },
{ label: "GeoIP", link: "/wiki/GeoIP.html" },
{ label: "Protect", href: "https://wiki.mc-ess.net/wiki/Configuration_file#EssentialsProtect" },
{ label: "Spawn", link: "/wiki/Module-Breakdown.html#essentialsx-spawn" },
{ label: "XMPP", href: "https://wiki.mc-ess.net/wiki/XMPP" }
],
Reference: [
{ label: "Commands", href: "https://essinfo.xeya.me/commands.html" },
{ label: "Permissions", href: "https://essinfo.xeya.me/permissions.html" },
{ label: "Changelogs", href: "https://github.com/EssentialsX/Essentials/releases" }
]
}
},
theme: "./src",
markdown: {
plugins: [
{
resolve: "markdown-it-wikilinks",
options: {
baseURL: "/wiki/",
makeAllLinksAbsolute: true
}
}
]
},
plugins: [
{ resolve: "saber-plugin-netlify-redirect" },
{ resolve: "./plugins/wiki-redirects" },
]
}