-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (99 loc) · 3.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Novalex Documentation</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Novalex Documentation" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<link rel="stylesheet" href="./assets/docsify/vue.css" />
<link rel="stylesheet" href="./assets/mermaid/mermaid.min.css" />
<link rel="stylesheet" href="./assets/katex.min.css" />
<link rel="stylesheet" href="./assets/styles.css" />
<script src="./assets/mermaid/mermaid.min.js"></script>
<style>
.docsify-tabs__tab--active:focus {
outline: none !important;
}
.cover.show {
background: #f7f7f7 !important;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
var num = 0;
mermaid.initialize({
startOnLoad: false,
// allow div
securityLevel: 'loose',
theme: 'neutral',
flowchart: {
useMaxWidth: true,
htmlLabels: true
},
cloneCssStyles: true,
themeCSS: '.label foreignObject { font-size: 95%;overflow: visible; }'
});
window.$docsify = {
//
name: 'Novalex',
basePath: location.pathname.replace(/\w+.\w+$/, ''),
repo: '',
alias: {
'/.*/_navbar.md': '/_navbar.md'
},
auto2top: true,
coverpage: true,
loadSidebar: true,
maxLevel: 4,
subMaxLevel: 2,
formatUpdated: '{MM}/{DD} {HH}:{mm}',
tabs: {
persist: true, // default
sync: true, // default
theme: 'classic', // default
tabComments: true, // default
tabHeadings: true // default
},
markdown: {
renderer: {
code: function(code, lang) {
console.log(lang);
if (lang) {
var matched = lang.match(/mermaid\.?(\w*)/);
if (matched) {
num++;
return (
'<div class="mermaid ' +
matched[1] +
'">' +
mermaid.render('mermaid-' + num, code) +
'</div>'
);
}
}
return this.origin.code.apply(this, arguments);
}
}
}
};
</script>
<script src="./assets/docsify/docsify.min.js"></script>
<script src="./assets/docsify/search.min.js"></script>
<script src="./assets/docsify/[email protected]"></script>
<script src="./assets/docsify-katex.js"></script>
<script src="./assets/prismjs/prism-markdown.min.js"></script>
<script src="./assets/prismjs/prism-bash.min.js"></script>
<script src="./assets/prismjs/prism-json.min.js"></script>
<script src="./assets/prismjs/prism-python.min.js"></script>
<script src="./assets/prismjs/prism-go.min.js"></script>
<script src="./assets/prismjs/prism-nginx.min.js"></script>
<script src="./assets/prismjs/prism-diff.min.js"></script>
</body>
</html>