-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
186 lines (185 loc) · 6.36 KB
/
docusaurus.config.js
File metadata and controls
186 lines (185 loc) · 6.36 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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "glaciermodding.org",
tagline: "",
url: "https://glaciermodding.org",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "glacier-modding",
projectName: "glaciermodding.org",
markdown: {
mermaid: true,
},
themeConfig: {
prism: {
additionalLanguages: ['json']
},
metadata: [
{ name: "keywords", content: "hitman, glacier, modding, 007" },
],
navbar: {
title: "glaciermodding.org",
logo: {
alt: "Glacier Engine 2 Modding Logo",
src: "img/logo.svg",
},
items: [
{
type: "dropdown",
label: "Tools",
position: "left",
items: [
{
href: "https://github.com/atampy25/glacierkit/releases/latest",
label: "GlacierKit",
},
{
href: "https://github.com/glacier-modding/NavKit/releases/latest",
label: "NavKit",
},
{
label: "RPKG Tool",
to: "/rpkg",
},
{
label: "G2WwiseDataTool",
to: "/g2wwisedatatool",
},
{
label: "G2GFxDataTool",
to: "/g2gfxdatatool",
},
{
label: "Rebone",
to: "/rebone",
},
{
label: "PrimPort",
to: "/primport",
},
{
label: "Online XTEA Tool",
to: "/tools/online/xtea",
},
{
label: "Material Overrides",
to: "/material-overrides",
}
],
},
{
type: "dropdown",
label: "Mods",
position: "left",
items: [
{
label: "Featured Mods",
to: "/featured-mods",
},
{
label: "Nexus Mods",
href: "https://www.nexusmods.com/hitman3",
},
],
},
{
href: "https://hitmandb.glaciermodding.org",
label: "HitmanDB",
},
{
label: "Hitman Resources",
href: "https://hitman-resources.netlify.app/",
},
{
label: "TonyTools",
href: "https://tonytools.win/",
},
{
label: "Documentation",
to: "/docs",
},
{
href: "https://github.com/glacier-modding",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},
],
},
footer: {
copyright: `<span class="trademark">All third party trademarks (including logos, icons and text) referenced within this website are the property of their respective owners. Unless otherwise stated as such. Glacier Modding's use of third party trademarks does not indicate any relationship, sponsorship, or endorsement between Glacier Modding and the respective trademark owners.</span>`,
links: [
{
title: "Links",
items: [
{
label: "GitHub",
href: "https://github.com/glacier-modding",
},
{
label: "Discord Server",
href: "https://discord.gg/6UDtuYhZP6",
},
{
html: "<a href='mailto:contact@glaciermodding.org'>contact@glaciermodding.org</a>"
}
],
},
],
},
colorMode: {
defaultMode: "dark",
},
},
themes: [
'@docusaurus/theme-mermaid',
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
indexBlog: false,
docsRouteBasePath: "/",
// For Docs using Chinese, The `language` is recommended to set to:
// ```
// language: ["en", "zh"],
// ```
},
],
],
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
path: "docs",
// routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
"https://github.com/glacier-modding/glaciermodding.org/blob/main/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
plugins: [
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
to: "/tools/online/xtea",
from: "/xtea",
},
],
},
],
],
}