-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
index.html
63 lines (61 loc) · 1.75 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
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8" />
<title>设计数据密集型应用</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="设计数据密集型应用"/>
<meta name="description" content="A magical documentation generator." />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
<link rel="stylesheet" href="js/katex.min.css"/>
<link rel="stylesheet" href="js/vue.css" title="vue"/>
<link rel="stylesheet" href="js/dark.css" title="dark" disabled/>
<link rel="stylesheet" href="js/buble.css" title="buble" disabled/>
<link rel="stylesheet" href="js/pure.css" title="pure" disabled/>
</head>
<body>
<div id="app">Loading ...</div>
<script>
// Set html "lang" attribute based on URL
var lang = location.hash.match(/#\/(zh-tw)\//);
if (lang) {
document.documentElement.setAttribute('lang', lang[1]);
}
// configuration
window.$docsify = {
name: 'DDIA',
repo: 'Vonng/ddia',
auto2top: true,
coverpage: false,
executeScript: true,
loadSidebar: true,
loadNavbar: true,
mergeNavbar: true,
relativePath: true,
maxLevel: 4,
subMaxLevel: 3,
alias: {
'/.*/_cover.md': '/_navbar.md',
},
search: {
maxAge: 10000,
paths: 'auto',
noData: {
'/': '没有结果!',
'/zh-tw/': '沒有結果!',
'/en-us/': 'No Results',
},
placeholder: {
'/': '搜索',
'/zh-tw/': '搜索',
'/en-us/': 'Search',
},
pathNamespaces: ['/zh-tw', '/en-us']
}
};
</script>
<script src="js/docsify-katex.js"></script>
<script src="js/docsify.min.js"></script>
<script src="js/search.min.js"></script>
</body>
</html>