-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
111 lines (110 loc) · 3.72 KB
/
index.html
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>RykenSlimefunCustomizer Wiki</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="https://unpkg.com/docsify@4/lib/themes/vue.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/lib/themes/buble.css">
<style>
body {
font-family: 'Noto Sans SC', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
font-weight: normal;
}
summary {
cursor: pointer;
}
</style>
</head>
<body>
<nav>
<a href="#/en-us/">English</a>
<a href="#/">简体中文</a>
</nav>
<div id="app"></div>
<script>
window.$docsify = {
name: 'RykenSlimeCustomizer Wiki',
repo: 'https://github.com/SlimefunReloadingProject/RykenSlimeCustomizer-Wiki',
basePath: '/pages/',
auto2top: true,
loadSidebar: true,
loadNavbar: true,
autoHeader: true,
notFoundPage: true,
coverpage: true,
onlyCover: true,
search: {
placeholder: {
'/': '搜索',
'/en-us/': 'Search',
},
noData: {
'/en-us/': "No result",
'/': '没有结果'
},
hideOtherSidebarContent: true,
},
nameLink: {
'/en-us/': '#/en-us/',
'/': '#/',
},
copyCode: {
buttonText: {
'/': '复制',
'/en-us/': "Copy"
},
errorText: {
'/': '复制失败',
'/en-us/': "Copy failed"
},
successText: {
'/': '复制成功',
'/en-us/': "Copy success"
}
},
toc: {
tocMaxLevel: 4,
target: 'h1, h2, h3, h4, h5, h6'
},
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
return (
html +
'\n\n----\n\n' +
'Copyright © 2024 [SlimefunReloadingProject](https://github.com/SlimefunReloadingProject) All rights reserved \n\n Powered by [HiWorldMC](https://github.com/HiWorldMC)'
);
});
},
],
alias: {
"/en-us/(.*)": "https://raw.githubusercontent.com/SlimefunReloadingProject/RykenSlimeCustomizer-Wiki/master/en-us/$1"
},
fallbackLanguages: ["en-us", "zh-cn"],
namespaces: [
{
id: "lang",
values: ["en-us", "zh-cn"],
optional: true,
selector: "#lang-selector"
},
]
}
</script>
<!-- Docsify v4 -->
<script src="https://unpkg.com/[email protected]/lib/docsify.min.js"></script>
<script src="https://unpkg.com/[email protected]/lib/plugins/zoom-image.min.js"></script>
<script src="https://unpkg.com/[email protected]/lib/plugins/search.min.js"></script>
<script src="https://unpkg.com/[email protected]/index.min.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-yaml.min.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-markdown.min.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-java.min.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-bash.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/docsify-copy-code.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/docsify-plugin-toc.min.js"></script>
</body>
</html>