-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
220 lines (184 loc) · 9.79 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
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>ROS Tutorial</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- 设置浏览器图标 -->
<link rel="shortcut icon" href="_media/seahipage-logo.svg" type="image/x-icon">
<!-- 默认主题 -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
<!-- 其他主题 -->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css"> -->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css"> -->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css"> -->
<!-- Themeable 个性化定制主题项目 项目文档地址: https://jhildenbiddle.github.io/docsify-themeable/#/-->
<!-- Theme: Defaults -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-defaults.css"> -->
<!-- Theme: Simple -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css"> -->
<!-- Theme: Simple Dark -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css"> -->
</head>
<body>
<!-- 定义加载时候的动作 -->
<div id="app">Loading...</div>
<script>
window.$docsify = {
// 项目名称
name: 'ME332 Additionals',
// 仓库地址,点击右上角的Github章鱼猫头像会跳转到此地址
repo: '',
// 在侧边栏中出现的网站图标, 你可以使用CSS来更改大小, 划到底部有可以改的地方
logo: '/_media/my_ros_logo.svg',
// 侧边栏支持,默认加载的是项目根目录下的_sidebar.md文件
loadSidebar: true,
// 同时设置 loadSidebar 和 autoHeader 后, 可以根据 _sidebar.md 的内容自动为每个页面增加标题, 我不喜欢打开这个选项
autoHeader: false, //
// 导航栏支持,默认加载的是项目根目录下的_navbar.md文件
loadNavbar: false,
// 封面支持,默认加载的是项目根目录下的_coverpage.md文件
coverpage: true,
// 最大支持渲染的标题层级
maxLevel: 5,
// 修改当前主题颜色,
themeColor: '#27426b',
// 自定义侧边栏后默认不会再生成目录,设置生成目录的最大层级(建议配置为2-4)
subMaxLevel: 3,
// 小屏设备下合并导航栏到侧边栏
mergeNavbar: true,
// 切换页面后是否自动跳转到页面顶部
auto2top: true,
// 开启busuanzi, 统计网站访问量
busuanzi: false,
// 搜索设置
search: {
maxAge: 86400000,// 过期时间,单位毫秒,默认一天
paths: 'auto',// 注意:仅适用于 paths: 'auto' 模式
// 支持本地化
placeholder: {
'/': 'Click here to search'
},
noData: 'No Results!',
// Headline depth, 1 - 6
depth: 3,
// whether or not to hide other sidebar content
hideOtherSidebarContent: false,
// To avoid search index collision between multiple websites under the same domain
namespace: 'ROS Tutorial',
},
// 字数统计
count:{
countable:true,
fontsize:'0.9em',
color:'rgb(90, 90, 90)',
language:'chinese'
},
// 文章最后更新时间
timeUpdater: {
text: "<div align='right' width='100%' style='color:gray; font-s1ze:16px; margin--top:5px; margin-bottom: 200px;'> Latest Update: {docsify-updated}</div>",
formatUpdated:"{YYYY}-{MM}-{DD} {HH}:{mm}",
},
// 进度条 只有vue主题才有显示
progress:{
position: "top",
color: "var(--theme-color, #42b983)",
height: "1.5px",
},
// 前后翻页
pagination: {
previousText: 'Previous Page',
nextText: 'Next Page',
crossChapter: true,
crossChapterText: true,
},
// 回到顶部
docsifyBackTop : {
size: 32,
bottom: 15,
right: 15,
logo: '',
bgColor: '#ffffff'
},
// giscus评论区 https://giscus.app/zh-CN
giscus:{
repo: "SeaHI-Robot/ROS_Tutorial",
repoId: "R_kgDOKUY_Ag",
category: "Announcements",
categoryId: "DIC_kwDOKUY_As4CZXoq",
mapping: "url",
reactionsEnabled: "1",
strict: "1",
emitMetadata: "0",
inputPosition: "top",
theme: "noborder_light",
lang: "zh-CN",
loading: "lazy"
},
}
// 添加插件
</script>
<!-- docsify的js依赖 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<!-- emoji表情支持 -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script> -->
<!-- 图片放大缩小支持 -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script> -->
<!-- 搜索功能支持 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<!--在所有的代码块上添加一个简单的Click to copy按钮来允许用户从你的文档中轻易地复制代码-->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script> -->
<!-- 字数统计 -->
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
<!-- docsify-kroki插件, 调用meimaid和plantuml等很多图形描述语言的api, 实现在docsify中的渲染 https://github.com/zuisong/docsify-kroki https://kroki.io -->
<!-- <script src="//unpkg.com/docsify-kroki"></script> -->
<!-- busuanzi 不蒜子, 统计网站访问量 https://busuanzi.ibruce.info https://www.npmjs.com/package/docsify-busuanzi -->
<script src="https://unpkg.com/[email protected]/dist/docsify-busuanzi.min.js"></script>
<!-- 显示文章最后更新时间 --> <!-- https://www.npmjs.com/package/docsify-updated -->
<script src="https://cdn.jsdelivr.net/npm/docsify-updated/src/time-updater.min.js"></script>
<!-- 前后页 -->
<!-- <script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> -->
<!-- 阅读进度条 -->
<script src="https://cdn.jsdelivr.net/npm/docsify-progress@latest/dist/progress.min.js"></script>
<!-- 回到顶部 -->
<script src="https://cdn.jsdelivr.net/gh/Sumsung524/docsify-backTop/dist/docsify-backTop.min.js"></script>
<!-- 接入gittalk, 实现评论区功能, 使用仓库里的issue -->
<!-- https://www.npmjs.com/package/docsify-gitalk https://www.bilibili.com/video/BV1vM4y1D7aL/?spm_id_from=333.788&vd_source=489a733550a7c846fcce2e3eb3a683cc-->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css"> -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script> -->
<!-- <script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script> -->
<!-- <script src="https://unpkg.com/[email protected]/dist/docsify-gitalk.min.js"></script> -->
<!-- 内嵌显示pdf -->
<!-- https://github.com/lazypanda10117/docsify-pdf-embed https://www.bilibili.com/video/BV1GT411s7bQ/?spm_id_from=333.788&vd_source=489a733550a7c846fcce2e3eb3a683cc -->
<!-- PDFObject.js is a required dependency of this plugin -->
<script src="//cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js"></script>
<script src="//unpkg.com/docsify-pdf-embed-plugin/src/docsify-pdf-embed.js"></script>
<!-- 接入giscus
https://www.bilibili.com/video/BV1rR4y1
q7y2/?spm_id_from=333.788&vd_source=489a733550a7c846fcce2e3eb3a683cc
https://www.npmjs.com/package/docsify-giscus -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/giscus.css">
<script src="https://unpkg.com/[email protected]/dist/docsify-giscus.min.js"></script>
<!-- Latex公式渲染支持 docsify-katex -->
<script src="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css" />
<script src="//cdn.jsdelivr.net/npm/marked@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
<!-- docsify-pangu 对中英文之间自动加空格 -->
<script src="//cdn.jsdelivr.net/npm/docsify-pangu/lib/pangu.min.js"></script>
<!--在所有的代码块上添加一个简单的Click to copy按钮来允许用户从你的文档中轻易地复制代码-->
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<!-- 前后页 -->
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
</body>
<!-- 以下这两个block用来改logo图标大小 -->
<style>
.app-name {
width: 180px;
height: auto;
}
</style>
</html>