-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
198 lines (173 loc) · 6.87 KB
/
index.html
File metadata and controls
198 lines (173 loc) · 6.87 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
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no, viewport-fit=cover">
<!-- Replace with your own title and description. -->
<title>Core Library Documentation</title>
<meta name="description" content="A Documentation Library Core Library (CoreLib).">
<link rel="icon" type="image/png" href="corelib-profile.png"/>
<!-- Theme-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css"
title="dark">
<!-- Plugin Styles -->
<link rel="stylesheet" href="https://unpkg.com/docsify-toc@1.0.0/dist/toc.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ky_wong/docsify-version-plugin@1.0.2/style.css">
<link rel="stylesheet" href="//unpkg.com/@fortawesome/fontawesome-free/css/fontawesome.css"/>
<link rel="stylesheet" href="//unpkg.com/@fortawesome/fontawesome-free/css/brands.css"/>
<link rel="stylesheet" href="//unpkg.com/@fortawesome/fontawesome-free/css/regular.css"/>
<link rel="stylesheet" href="//unpkg.com/@fortawesome/fontawesome-free/css/solid.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-breadcrumb@latest/dist/breadcrumb.min.css">
<link rel="stylesheet" href="css/docsify-dark-switcher-plugin.css"/>
<link rel="stylesheet" href="css/docsify-link-plugin.css"/>
<link rel="stylesheet" href="css/docsify-fix-tips.css"/>
<link rel="stylesheet" href="css/special-links.css"/>
<link rel="stylesheet" href="css/docsify-copy-code-plugin.css"/>
<!-- Custom Styling -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav></nav>
<div id="app">
<h1>Loading CoreLib...</h1>
</div>
<script>
const url = new URL(window.location.href);
const params = new URLSearchParams(url.search);
let versionParam = params.get("version");
let versions = [
{folder: 'v4/', label: 'v4.x', name: '4', default: true},
{folder: 'v3/', label: 'v3.x', name: '3', default: false},
];
let basePath = sessionStorage.getItem("basePath");
if (basePath == null) {
let defaultVersion = versions.find((v) => v.default).folder;
sessionStorage.setItem("basePath", defaultVersion);
}
const versionFolder = sessionStorage.getItem("basePath");
window.$docsify = {
name: 'Core Library',
vueGlobalOptions: {
},
auto2top: true,
loadSidebar: true,
loadNavbar: false,
maxLevel: 0,
subMaxLevel: 0,
repo: 'https://github.com/CoreKeeperMods/CoreLib',
alias: {
'/.*/_sidebar.md': '/_sidebar.md',
},
basePath: sessionStorage.getItem("basePath"),
versions: versions,
versionSelectorLabel: 'Version',
// Search Plugin Configuration
search: {
maxAge: 86400000,
paths: 'auto',
placeholder: 'Type to search',
noData: 'No Results',
// Headline depth, 1 - 6
depth: 3,
hideOtherSidebarContent: true,
namespace: 'docs-' + versionFolder // Set a unique namespace for each version
},
// pagination config
pagination: {
previousText: 'Previous',
nextText: 'Next',
crossChapter: true,
crossChapterText: true,
},
//copy code config
copyCode: {
buttonText: '<i class="fa-regular fa-copy"></i>',
errorText: {
'/zh-cn/': '错误',
'/ru/': 'ошибка',
'/': 'Error',
},
successText: {
'/zh-cn/': '复制!',
'/ru/': 'Скопировано!',
'/de-de/': 'Kopiert!',
'/es/': 'Copiado!',
'/': 'Copied!',
},
},
//tabs config
tabs: {
persist: true,
sync: true,
theme: 'classic',
tabComments: true,
tabHeadings: false
},
//table of contents
toc: {
title: 'Table of Contents',
headings: 'h1, h2, h3'
},
//remote markdown
remoteMarkdown: {
tag: 'changelogURL'
},
//scroll to top
scrollToTop: {
auto: true,
text: '',
icon: 'fa fa-arrow-up',
right: 15,
bottom: 15,
offset: 500
},
//link headers
linkHeaders: {
class: 'fa fa-link fa-2xs'
},
// select options
select: {
useSelectHeadingComment: true,
selected: {
"version-select": "Specific Version",
},
},
//breadcrumbs
breadcrumb: {
size: 'normal',
alias: {
'modsdk-bug-fixes': 'ModSDK Bug Fixes',
'modules': 'Main Module',
}
},
};
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-select@1"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//unpkg.com/docsify-remote-markdown/dist/docsify-remote-markdown.min.js"></script>
<script src="//unpkg.com/docsify-fontawesome/dist/docsify-fontawesome.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-mustache"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/front-matter.min.js"></script>
<script src="js/docsify-toc-plugin.js"></script>
<script src="js/docsify-version-plugin.js"></script>
<script src="js/docsify-scroll-to-top-plugin.js"></script>
<script src="js/docsify-dark-switcher-plugin.js"></script>
<script src="js/docsify-link-headers-plugin.js"></script>
<script src="js/docsify-fix-tips.js"></script>
<script src="js/docsify-breadcrumb-plugin.js" type="module"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-csharp.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-javascript.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-json.min.js"></script>
<script src="js/prism-csv.js"></script>
</body>
</html>