-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.html
191 lines (157 loc) · 5.33 KB
/
menu.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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html lang="en">
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<link rel="icon" href="/favicon.ico">
<title>
Singo
</title>
<!-- theme css & js -->
<link rel="stylesheet" href="/css/spectre.min.css">
<link rel="stylesheet" href="/css/spectre-exp.min.css">
<link rel="stylesheet" href="/css/spectre-icons.min.css">
<link rel="stylesheet" href="/css/spectre_custom.css">
<link rel="stylesheet" href="/css/book.css">
<script src="/js/book.js"></script>
<!-- tocbot -->
<script src="/js/tocbot.min.js"></script>
<link rel="stylesheet" href="/css/tocbot.css">
</head>
<body>
<div class="container">
<div class="book-container">
<div class="columns">
<div class="col-2 hide-lg left">
<div class="book-sidebar">
<h4 class="site-meta">
<a href="/">Singo</a>
</h4>
<div class="sidebar-content">
<ul>
<li><a href="/">Singo简介</a></li>
</ul>
<h2 id="快速指引"><a href="#快速指引" class="headerlink" title="快速指引 "></a>快速指引 <a id="quick-guide"></a></h2><ul>
<li><a href="/quick-guide/download.html">下载安装</a></li>
<li><a href="/quick-guide/package-name.html">修改包名</a></li>
<li><a href="/quick-guide/set-env.html">配置环境变量来连接数据库</a></li>
<li><a href="/quick-guide/run.html">运行项目</a></li>
</ul>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料 "></a>参考资料 <a id="other-docs"></a></h2><ul>
<li><a href="/other-docs/how-to-set-env.html">如何设置环境变量</a></li>
</ul>
</div>
</div>
<script src="/js/book-sidebar.js"></script>
</div>
<div class="column col-8 col-lg-12 middle">
<div class="book-content">
<div class="book-navbar">
<header class="navbar">
<section class="navbar-section">
<img class="navbar-icon" src="/favicon.ico">
</section>
<section class="navbar-center">
Singo
</section>
<section class="navbar-section">
<label class="accordion-header c-hand" for="accordion-sidebar">
<i class="icon icon-menu"></i>
</label>
</section>
</header>
<div class="accordion">
<input type="checkbox" id="accordion-sidebar" name="accordion-checkbox" hidden>
<div class="accordion-body">
<ul>
<li><a href="/">Singo简介</a></li>
</ul>
<h2 id="快速指引"><a href="#快速指引" class="headerlink" title="快速指引 "></a>快速指引 <a id="quick-guide"></a></h2><ul>
<li><a href="/quick-guide/download.html">下载安装</a></li>
<li><a href="/quick-guide/package-name.html">修改包名</a></li>
<li><a href="/quick-guide/set-env.html">配置环境变量来连接数据库</a></li>
<li><a href="/quick-guide/run.html">运行项目</a></li>
</ul>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料 "></a>参考资料 <a id="other-docs"></a></h2><ul>
<li><a href="/other-docs/how-to-set-env.html">如何设置环境变量</a></li>
</ul>
</div>
</div>
</div>
<div class="book-post">
<ul>
<li><a href="/">Singo简介</a></li>
</ul>
<h2 id="快速指引"><a href="#快速指引" class="headerlink" title="快速指引 "></a>快速指引 <a id="quick-guide"></a></h2><ul>
<li><a href="/quick-guide/download.html">下载安装</a></li>
<li><a href="/quick-guide/package-name.html">修改包名</a></li>
<li><a href="/quick-guide/set-env.html">配置环境变量来连接数据库</a></li>
<li><a href="/quick-guide/run.html">运行项目</a></li>
</ul>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料 "></a>参考资料 <a id="other-docs"></a></h2><ul>
<li><a href="/other-docs/how-to-set-env.html">如何设置环境变量</a></li>
</ul>
</div>
<div class="book-comments">
</div>
<script src="/js/book-post.js"></script>
</div>
</div>
<div class="column col-2 hide-lg right">
<div class="book-toc">
<div class="book-tocbot">
</div>
<div class="book-tocbot-menu">
<a class="book-toc-expand" onclick="expand_toc()">Expand all</a>
<a onclick="go_top()">Back to top</a>
<a onclick="go_bottom()">Go to bottom</a>
</div>
</div>
<script>
tocbot.init({
tocSelector: '.book-tocbot',
contentSelector: '.book-post',
headingSelector: 'h1, h2, h3, h4, h5',
collapseDepth: 2,
orderedList: false,
scrollSmooth: false,
});
function expand_toc(){
var b = document.querySelector(".book-toc-expand");
tocbot.init({
tocSelector: '.book-tocbot',
contentSelector: '.book-post',
headingSelector: 'h1, h2, h3, h4, h5',
collapseDepth: 6,
orderedList: false,
scrollSmooth: false,
});
b.setAttribute("onclick", "collapse_toc()");
b.innerHTML = "Collapse all"
}
function collapse_toc(){
var b = document.querySelector(".book-toc-expand");
tocbot.init({
tocSelector: '.book-tocbot',
contentSelector: '.book-post',
headingSelector: 'h1, h2, h3, h4, h5',
collapseDepth: 2,
orderedList: false,
scrollSmooth: false,
});
b.setAttribute("onclick", "expand_toc()");
b.innerHTML = "Expand all"
}
function go_top() {
window.scrollTo(0, 0);
}
function go_bottom() {
window.scrollTo(0, document.body.scrollHeight);
}
</script>
</div>
</div>
</div>
</div>
</body>
</html>