初始化
This commit is contained in:
56
docs/index.html
Normal file
56
docs/index.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cmn-Hans">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>WebCAD帮助</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="stylesheet" href="vue.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
window.$docsify = {
|
||||
logo: "/favicon.ico",
|
||||
loadSidebar: true,
|
||||
subMaxLevel: 2,
|
||||
name: "WebCAD帮助",
|
||||
auto2top: true,
|
||||
//routerMode: 'history',//不能开启这个,会导致页面访问失败
|
||||
repo: "",
|
||||
pagination: {
|
||||
previousText: '上一章节',
|
||||
nextText: '下一章节',
|
||||
crossChapter: true
|
||||
},
|
||||
//避免缓存
|
||||
requestHeaders: {
|
||||
'cache-control': 'max-age=0',
|
||||
},
|
||||
// 完整配置参数
|
||||
search: {
|
||||
maxAge: 0, // 过期时间,单位毫秒,默认一天
|
||||
paths: 'auto', // or 'auto'
|
||||
placeholder: '搜索',
|
||||
noData: '找不到!',
|
||||
// 搜索标题的最大程级, 1 - 6
|
||||
depth: 6
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
.sidebar .app-name .app-name-link img {
|
||||
max-width: 50%;
|
||||
}
|
||||
</style>
|
||||
<script src="docsify.min.js"></script>
|
||||
<script src="docsify-pagination.min.js"></script>
|
||||
<script src="search.js"></script>
|
||||
<script src="zoom-image.min.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user