-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
75 lines (70 loc) · 2.83 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
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8" />
<title>Codemao API - 编程猫社区API文档</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta name="keywords" content="API, Codemao, 编程猫, 文档" />
<meta
name="description"
content="Codemao API 项目由编程猫社区用户发起,旨在为广大训练师提供快速上手的社区 API 接口文档"
/>
<link rel="icon" href="/static/favicon.ico" />
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" />
<link rel="stylesheet" href="/static/css/table.css" />
<link rel="stylesheet" href="/static/css/sidebar.css" />
</head>
<body>
<div id="app">加载中……</div>
<script>
window.$docsify = {
name: 'Codemao API',
nameLink: '/',
repo: 'https://github.com/lambdark/codemao-api',
loadSidebar: true,
alias: {
'/.*/_sidebar.md': '/_sidebar.md',
},
subMaxLevel: 2,
coverpage: true,
notFoundPage: true,
routerMode: 'history',
formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}',
search: {
paths: 'auto',
placeholder: '搜索内容',
},
Valine: {
appId: '6XdtAxj3a2keka4kxxXHVlKr-gzGzoHsz',
appKey: '0Jd652yv3kC9y5kamHDhWk8D',
placeholder:
'支持 Markdown 语法\n如果发现了文档的BUG,建议评论区回复后再在Github仓库(点击网页右上角)提交PR或issue',
requiredFields: ['nick'],
recordIP: true,
docPath: 'full',
},
};
// 仅在非首页页面加载页面标题后缀
if (location.pathname != '/') {
window.$docsify.customPageTitle = {
suffix: 'Codemao API - 编程猫社区API文档',
};
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-python.min.js"></script>
<script src="/static/js/plugin.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify-copy-code"></script>
<script src="//unpkg.com/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
<script src="//unpkg.com/valine/dist/Valine.min.js"></script>
<script src="//unpkg.com/docsify-valine/dist/docsify-valine.min.js"></script>
<script src="//unpkg.com/@sujaykumarh/docsify-plugin-title@1.x/dist/plugin.min.js"></script>
</body>
</html>