forked from Ctrlpanel-gg/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
134 lines (132 loc) · 3.47 KB
/
docusaurus.config.js
File metadata and controls
134 lines (132 loc) · 3.47 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "Controlpanel.gg",
tagline:
"ControlPanel's Dashboard is a free and open-source management panel for Pterodactyl with credit based billing and lots of customization",
url: "https://controlpanel.gg",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/controlpanel.ico",
organizationName: "ControlPanel-gg", // Usually your GitHub org/user name.
projectName: "docs", // Usually your repo name.
trailingSlash: false,
themeConfig: {
navbar: {
title: "Controlpanel (CPGG)",
logo: {
alt: "Controlpanel logo",
src: "img/controlpanel.png",
},
items: [
{
type: "doc",
docId: "intro",
position: "left",
label: "Documentation",
},
{
href: "https://market.controlpanel.gg",
label: "Extention Hub",
position: "left",
},
{
type: "docsVersionDropdown",
position: "right",
dropdownActiveClassDisabled: true,
},
{
label: "Utilities",
position: "right",
items: [
{
href: "https://documenter.getpostman.com/view/9044962/TzY69ub2#02b8da43-ab01-487d-b2f5-5f8699b509cd",
label: "API",
position: "right",
},
{
href: "https://demo.controlpanel.gg",
label: "Demo",
position: "right",
},
{
href: "https://trello.controlpanel.gg/b/KGMuFqkqe5QabLt76/controlpanel",
label: "Development-Roadmap",
position: "right",
},
],
},
{
label: "Social",
position: "right",
items: [
{
href: "https://discord.gg/4Y6HjD2uyU",
label: "Discord",
position: "right",
},
{
href: "https://github.com/ControlPanel-gg/dashboard",
label: "GitHub",
position: "right",
},
],
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Documentation",
to: "/docs/intro",
},
],
},
{
title: "Community",
items: [
{
label: "Discord",
href: "https://discord.gg/4Y6HjD2uyU",
},
],
},
{
title: "More",
items: [
{
label: "GitHub",
href: "https://github.com/ControlPanel-gg/dashboard",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Controlpanel.gg group. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
lastVersion: "0.8",
// Please change this to your repo.
editUrl: "https://github.com/ControlPanel-gg/docs/tree/main/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};