-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
116 lines (111 loc) · 3.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
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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>CPL-Docs@NJUSE</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="C语言程序设计基础-课程文档@南京大学软件学院">
<meta name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no, viewport-fit=cover">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="./static/theme-simple-dark.css">
<link rel="stylesheet" media="(prefers-color-scheme: light)" href="./static/theme-simple.css">
<!-- Custom Styles -->
<style>
:root {
--base-font-size: 18px;
--link-color: #659ad2;
--link-color--hover: #00599c;
--link-text-decoration-color: var(--link-color);
--link-text-decoration-color--hover: var(--link-color--hover);
--content-max-width: 90%;
}
</style>
</head>
<body>
<div id="app">👧🙏少女祈祷中...</div>
<script>
window.$docsify = {
logo: '/.assets/images/C_Programming_Language_with_Title.svg',
name: 'C Programming Learning',
loadSidebar: true,
auto2top: true,
subMaxLevel: 4,
coverpage: true,
onlyCover: false,
search: {
placeholder: '搜索',
noData: '找不到结果!',
},
homepage: 'intro.md',
nameLink: '/',
repo: 'https://github.com/courses-at-nju-by-hfwei/cpl-docs/',
themeColor: '#659ad2',
mergeNavbar: true,
maxLevel: 3,
formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}:{ss}',
markdown: {
smartypants: true,
renderer: {
//...
}
},
tabs: {
persist: true, // default
sync: true, // default
theme: 'classic', // default
tabComments: true, // default
tabHeadings: true // default
},
copyCode: {
buttonText: '复制到剪贴板',
errorText: '复制失败',
successText: '复制成功!'
},
pagination: {
previousText: '上一章节',
nextText: '下一章节',
crossChapter: true,
crossChapterText: true,
},
count: {
language: 'chinese',
},
// Valine: {
// appId: '8OJ9ftpqzv2GnP6cKsOQmn2W-gzGzoHsz',
// appKey: 'K5fVklVSa22jdRsx45PPiA71',
// placeholder: '你想说点什么吗?请在“邮箱”处填写你的南大邮箱。',
// avatar: 'retro',
// meta: ['nick', 'mail'],
// requiredFields: ['nick', 'mail'],
// recordIP: true,
// },
plugins: [
function (hook) {
hook.afterEach(function (html) {
return (
html +
'<div style="text-align: center;"><a href="http://beian.miit.gov.cn/" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none; ">苏ICP备2022043609号-1</a></div>'
);
})
},
],
}
</script>
<!-- Docsify v4 -->
<script src="./static/[email protected]"></script>
<script src="./static/prism-c.js"></script>
<script src="./static/[email protected]"></script>
<script src="./static/docsify-pagination.min.js"></script>
<script src="./static/[email protected]"></script>
<script src="./static/[email protected]"></script>
<script src="./static/[email protected]"></script>
<script src="./static/external-script.min.js"></script>
<script src="./static/search.js"></script>
<script src="./static/emoji.min.js"></script>
<script src="./static/countable.js"></script>
<script src="./static/zoom-image.min.js"></script>
<script src="./static/katex.min.js"></script>
<link rel="stylesheet" href="./static/katex.min.css" />
<script src="./static/docsify-katex.js"></script>
</body>
</html>