This repository has been archived by the owner on Oct 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.js
40 lines (37 loc) · 1.42 KB
/
main.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
const mainCI = "https://ci.ender.zone/job/EssentialsX/";
const mirrorCI = "https://ci.akpmakes.tech/job/EssentialsX/";
axios.defaults.baseURL = mirrorCI; // ender.zone doesn't allow CORS
//const landing = window.landing;
//const dlPage = window.dlPage;
docute.init({
url: "https://raw.githubusercontent.com/wiki/EssentialsX/Essentials/",
home: "https://raw.githubusercontent.com/wiki/EssentialsX/Essentials/Home.md",
landing,
tocVisibleDepth: 3,
disableSidebarToggle: true,
icons: [
{ icon: "edit", label: "Source Wiki", link: "https://github.com/EssentialsX/Essentials/wiki" },
{ icon: "github", label: "EssentialsX on GitHub", link: "https://github.com/EssentialsX/Essentials" }
],
nav: [
{ title: "Home", path: "/" },
{
title: "Wiki",
type: "dropdown",
items: [
{ title: "Wiki Home", path: "/Home" },
{ type: "sep" },
{ type: "label", title: "Features" },
{ title: "BannerMeta", path: "/BannerMeta" },
{ title: "Command Cooldowns", path: "/Command-Cooldowns" }
],
},
{ title: "Common Issues", path: "/Common-Issues" },
{ title: "Issue Tracker", path: "https://github.com/EssentialsX/Essentials/issues" },
{ title: "Discord", path: "/Discord-Rules" }
],
plugins: [
docuteWikilink,
],
debug: true
});