-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
137 lines (125 loc) · 5.08 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NGD88ZE3CS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-NGD88ZE3CS');
</script>
<script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</head>
<body>
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github"></script>
<div id="app">Loading VocalShaper document...</div>
<script>
var num = 0;
mermaid.initialize({ startOnLoad: false });
window.$docsify = {
repo: 'Do-sth-sharp/VocalShaper',
maxLevel: 4,
coverpage: false,
loadSidebar: true,
subMaxLevel: 2,
relativePath: true,
themeColor: '#626FFC',
mergeNavbar: true,
formatUpdated: '{MM}/{DD}/{YYYY} {HH}:{mm}',
fallbackLanguages: ['zh-CN', 'en-US'],
search: {
placeholder: {
'/zh-CN/': '搜索',
'/': 'Type to search'
},
noData: {
'/zh-CN/': '找不到结果',
'/': 'No Results'
},
},
copyCode: {
buttonText: {
'/zh-CN/': '点击复制',
'/': 'Copy to clipboard',
},
errorText: {
'/zh-CN/': '错误',
'/': 'Error',
},
successText: {
'/zh-CN/': '已复制',
'/': 'Copied',
},
},
markdown: {
renderer: {
code: function (code, lang) {
if (lang === "mermaid") {
return (
'<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
);
}
return this.origin.code.apply(this, arguments);
}
}
},
plugins: [
EditOnGithubPlugin.create(
'https://github.com/Do-sth-sharp/VocalShaper-Doc/blob/main/',
null,
function (file) {
if (file.indexOf('zh-CN') > -1) {
return '在GitHub上编辑'
} else {
return 'Edit on GitHub'
}
}),
function (hook) {
var footer = [
'<hr/>',
'<footer>',
'<span><a href="https://github.com/Do-sth-sharp">VocalSharp Org.</a> ©2024.</span><br>',
'<span>Proudly published with <a href="https://github.com/docsifyjs/docsify" target="_blank">docsify</a>.</span>',
'</footer>'
].join('');
hook.afterEach(function (html) {
return html + footer;
});
}
],
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.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/emoji.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="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: 'b5fbb1ed5dc91bbee80e',
clientSecret: 'aec64a86ab49344ef6a0438c1319d0e9f7680ab9',
repo: 'VocalShaper-Doc',
owner: 'Do-sth-sharp',
admin: ['FangCunWuChang', 'LiuYunPlayer', 'ChunShuiZi'],
// facebook-like distraction free mode
distractionFreeMode: true,
id: window.location.hash.split("?")[0]
})
</script>
</body>
</html>