-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.ts
160 lines (155 loc) · 5.11 KB
/
docusaurus.config.ts
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import tailwindPlugin from "./plugins/tailwind-config.js";
import remarkgfm from "remark-gfm";
const config: Config = {
markdown: {
mermaid: true,
},
title: 'MythicalSystems LTD',
tagline: 'We code the future.',
favicon: 'https://avatars.githubusercontent.com/u/117385445',
url: 'https://mythical.systems',
baseUrl: '/',
organizationName: 'mythicalltd',
projectName: 'web',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
themes: ["@docusaurus/theme-mermaid"],
presets: [
[
'classic',
{
docs: {
sidebarPath: './sidebars.ts',
remarkPlugins: [remarkgfm],
},
blog: {
showReadingTime: true,
onUntruncatedBlogPosts: 'ignore',
},
theme: {
customCss: [
require.resolve('./src/css/custom.scss'),
require.resolve('./src/css/tailwind.css'),
],
},
} satisfies Preset.Options,
],
],
themeConfig: {
metadata: [
{ name: 'keywords', content: 'mythicalsystems, mythicaldash, mythicalclient, mythicalbilling, mythicalsystems ltd, mythicalsystems info , mythicalsystems projects, mythicalsystems github, pterodactyl, stopabuse, nayskutuz, cassian gherman, nayskutzuftw, mythicaldoggo, mythicalsystems website, mythicalsystems info, mythical.systems, oldmythicalsystems, mythicaldoggo, nayskutzu, nayskutzuftw, polartoflex, multyplay,noxlcraft,mythic-romania,mythic-craft, mysticcraft,mythicaldash, mythicalclient, mythicalframework, mythicalframework api, api, mythicalframework docs, mythicalframework github, mythicalframework info, mythicalframework projects, mythicalframework website, documenation mythical, mythicaldocs, mythical website, hurawatch, testing, mythic, holaclient, hellactyl, pterodactyl, hosting, cms' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@mythicalsystems' },
{ name: 'og:image', content: 'https://avatars.githubusercontent.com/u/117385445' },
{ name: 'og:image:width', content: '200' },
{ name: 'twitter:image', content: 'https://avatars.githubusercontent.com/u/117385445' },
{ name: 'theme-color', content: '#953aa1' },
],
image: 'https://avatars.githubusercontent.com/u/117385445',
navbar: {
title: 'MythicalSystems',
logo: {
alt: 'MythicalSystems',
src: 'https://avatars.githubusercontent.com/u/117385445',
},
items: [
{ to: '/docs', label: 'Docs', position: 'left' },
{ to: "/blog", label: "Blog", position: "left" },
{ to: "/donate", label: "Donate", position: "left" },
{ to: "https://status.mythical.systems", label: "Status", position: "left" },
{ to: "https://discord.mythical.systems", label: "Discord", position: "left" },
{ href: "https://github.com/mythicalltd", position: "right", className: "github-link", },
],
},
colorMode: {
defaultMode: "dark",
disableSwitch: true,
respectPrefersColorScheme: false,
},
footer: {
logo: {
src: "https://avatars.githubusercontent.com/u/117385445",
height: "64px",
width: "64px",
},
style: 'dark',
links: [
{
title: 'INFORMATION',
items: [
{
label: 'Github',
href: 'https://github.com/mythicalltd',
},
{
label: 'Discord',
href: 'https://discord.mythical.systems',
}
],
},
{
title: 'SPONSORS',
items: [
{
label: 'AdSlice',
href: 'https://addslice.com/?crew=FgQTfkSz',
},
{
label: 'DeinServerHost',
href: 'https://deinserverhost.de/store/aff.php?aff=5361',
}
],
},
{
title: 'SUPPORT US',
items: [
{
label: 'Github Sponsor',
href: 'https://github.com/sponsors/nayskutzu',
},
{
label: 'PayPal',
href: 'https://paypal.me/nayskutzu',
},
],
},
{
title: 'LEGAL',
items: [
{
label: 'Privacy Policy',
to: '/privacy',
},
{
label: 'Terms of Service',
to: '/terms',
},
{
label: 'Branding',
to: '/branding',
}
],
}
],
copyright: `Copyright © ${new Date().getFullYear()} MythicalSystems LTD`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['php']
},
} satisfies Preset.ThemeConfig,
plugins: [
require.resolve('docusaurus-lunr-search'),
"docusaurus-plugin-sass",
tailwindPlugin,
],
};
export default config;