forked from Raray-chuan/xichuan_note
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex1.html
171 lines (161 loc) · 5.92 KB
/
index1.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>xichuan-note</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="doc,docs,documentation,github,xichuan,bigdata,jvm,juc,spring,java" />
<meta name="description" content="xichuan的学习总结笔记" />
<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="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/themes/vue.css" />
<link rel="stylesheet" href="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/style.min.css">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png" />
<style>
.markdown-section code {
font-weight: 400;
}
article>p>img {
background-color: #f4f4f4;
}
</style>
</head>
<body>
<nav>
<ul>
<li>
分类
<ul>
<li><a href="#/?id=java系列">java系列</a></li>
<li><a href="#/?id=spring系列">spring系列</a></li>
<li><a href="#/?id=java框架系列">java框架系列</a></li>
<li><a href="#/?id=大数据系列">大数据系列</a></li>
<li><a href="#/?id=杂项">杂项</a></li>
</ul>
</li>
<li>
页面
<ul>
<li><a href="#">封面</a></li>
<li><a href="#/README">首页</a></li>
</ul>
</li>
</ul>
</nav>
<div id="app">Xichuan的学习总结笔记</div>
<script>
window.$docsify = {
name: "xichuan-note",
maxLevel: 3,
auto2top: true,
coverpage: true,
coverpage: "docs/extra-page/cover.md",
loadSidebar: "summary.md",
alias: {
"/.*/.*/summary": "summary.md",
"/.*/summary.md": "summary.md",
},
pagination: {
previousText: "上一篇",
nextText: "下一篇",
crossChapter: true,
crossChapterText: true,
},
contributors: {
repo: 'Raray-chuan/xichuan_note',
ignores: ['/README.md'],
image: {
margin: '0.2em',
isRound: true
}
},
search: {
maxAge: 1800000,
paths: [
"/docs/java/",
"/docs/spring/",
"/docs/java-frame/",
"/docs/big-data/",
"/docs/others/",
],
depth: 3,
},
darklightTheme: {
defaultTheme: 'light',
siteFont: 'Source Sans Pro,Helvetica Neue,Arial,sans-serif',
codeFontFamily: 'Roboto Mono, Monaco, courier, monospace',
bodyFontSize: '15px',
dark: {
background: 'rgb(28,32,34)',
highlightColor: '#e96900',
codeBackgroundColor: 'rgb(34,39,46)',
codeTextColor: '#b4b4b4',
},
light: {
highlightColor: '#e96900',
}
},
plugins: [
function (hook, vm) {
hook.beforeEach(function (content) {
const en = vm.route.file.indexOf("README_EN") > -1;
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace("raw.githubusercontent.com", "github.com")
.replace(/\/main/, "/blob/main");
} else {
url =
"https://github.com/Raray-chuan/xichuan_note/blob/main/" +
vm.route.file;
}
const github = `[GitHub](${url})`;
const gitee = `[Gitee](${url.replace("github", "gitee")})`;
const editHtml = en
? `:memo: Edit on ${github} \n`
: `:memo: 在 ${github} 编辑\n`;
if (vm.route.path == "/") {
return editHtml + content;
}
const subscription = `---
## 公众号
[Raray-chuan](https://github.com/Raray-chuan) : 关注我的公众号可以获取更多的学习资料
我的公众号:「**大数据秬鬯**」
<table>
<tr>
<td align="center" style="width: 200px;">
<a href="https://github.com/Raray-chuan">
<img src="images/qrcode-for-xichuan.jpg" style="width: 400px;"><br>
<sub>公众平台</sub>
</a><br>
</td>
<td align="center" style="width: 200px;">
<a href="https://github.com/Raray-chuan">
<img src="./images/qrcode-for-it_fushang.jpg" style="width: 400px;"><br>
<sub>个人微信</sub>
</a><br>
</td>
</tr>
</table>
`;
return editHtml + content + `\n` + subscription;
});
hook.afterEach(function (html) {
const currentYear = new Date().getFullYear()
const footer = `<footer><span>Copyright © 2022-${currentYear} <a href="https://github.com/Raray-chuan" target="_blank">Raray-chuan</a>. All Rights Reserved.</footer>`
return html + footer;
});
},
],
};
</script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/docsify.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/prismjs/components/prism-java.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-copy-code@2.1.1/dist/docsify-copy-code.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/search.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/index.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-contributors@latest/dist/index.min.js"></script>
</body>
</html>