-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (94 loc) · 3.99 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
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8" />
<title>JSpider 3</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://cdn.jsdelivr.net/combine/npm/docsify@4/lib/themes/vue.css,npm/prism-themes/themes/prism-material-light.min.css" />
<link rel="stylesheet" href="./docs/assets/fonts.css" />
<link rel="stylesheet" href="https://unpkg.com/docsify-gifcontrol/dist/docsify-gifcontrol.css" />
<link rel="stylesheet" href="./docs/assets/googleIcon.css" />
<link rel="stylesheet" href="./docs/assets/index.css" />
</head>
<body>
<div id="app"></div>
</body>
<script>
window.app = document.getElementById('app');
window.$docsify = {
name: 'JSpider',
repo: 'https://github.com/Konghayao/JSpider',
coverpage: true,
basePath: './docs/',
homepage: './zh-cn/README.md',
loadSidebar: true,
alias: {
'/.*/_sidebar.md': '/_sidebar.md',
},
subMaxLevel: 3,
sidebarDisplayLevel: 1,
auto2top: true,
maxLevel: 3,
prettier: {
config: {
printWidth: 80,
tabWidth: 4,
useTabs: false,
endOfLine: 'auto',
singleQuote: true,
semi: true,
trailingComma: 'all',
bracketSpacing: true,
},
},
'cc-license': {
lang: 'zh', //zh en ja
commercial: 'y', // y or n 允许对您的作品进行商业性使用吗?
derivatives: 'y', // y or n or sa 允许您的作品的演绎作品被共享吗? sa 表示 是的,只要他人以相同方式共享
},
count: {
countable: true,
fontsize: '0.9em',
color: 'rgb(90,90,90)',
language: 'chinese',
},
markdown: {
smartypants: true,
renderer: {
code: function (code, lang, ...args) {
if (lang === 'drawio') {
if (window.drawioConverter) {
console.log('drawio 转化中');
return window.drawioConverter(code);
} else {
return `<div class='drawio-code'>${code}</div>`;
}
} else {
const prettyCode = window.codeFormatter(code, lang);
return this.origin.code.call(this, prettyCode, lang, ...args);
}
},
},
},
plugins: [
],
};
</script>
<script type="module" src="https://cdn.jsdelivr.net/npm/docsify-cc-license/docsify-cc-license.min.js"></script>
<!-- drawio 的插件 -->
<script
src="https://cdn.jsdelivr.net/combine/npm/docsify-drawio/viewer.min.js,npm/docsify-drawio/drawio.min.js"></script>
<!-- prettier 的插件 -->
<script
src="https://cdn.jsdelivr.net/combine/npm/prettier/standalone.js,npm/[email protected]/parser-postcss.js,npm/[email protected]/parser-babel.js,npm/[email protected]/parser-html.js,npm/docsify-prettier/prettier.min.js"></script>
<!-- 其他插件 -->
<script
src="https://cdn.jsdelivr.net/combine/npm/docsify/lib/plugins/search.min.js,npm/docsify/lib/plugins/emoji.min.js,npm/docsify/lib/plugins/zoom-image.min.js,npm/docsify-copy-code/dist/docsify-copy-code.min.js,npm/docsify-pangu/lib/pangu.min.js,npm/docsify-count/dist/countable.js"></script>
<script src="https://unpkg.com/docsify-gifcontrol/dist/docsify-gifcontrol.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
<script type="module" src="./docs/assets/index.js"></script>
</html>