8000 增加docsify配置 · coder-chenhao/toBeTopJavaer@6773d12 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6773d12

Browse files
author
hollis.zhl
committed
增加docsify配置
1 parent f0f56c6 commit 6773d12

File tree

6 files changed

+102
-0
lines changed

6 files changed

+102
-0
lines changed

docs/.nojekyll

Whitespace-only changes.

docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## To Be Top Javaer - Java工程师成神之路
2+
3+
![](https://img.shields.io/badge/version-v2.0.0-green.svg) ![](https://img.shields.io/badge/author-Hollis-yellow.svg) ![](https://img.shields.io/badge/license-GPL-blue.svg)
4+
5+
6+
| 主要版本 | 更新时间 | 备注 |
7+
| ---- | ---------- | -------------- |
8+
| v1.0 | 2015-08-01 | 首次发布 |
9+
| v1.1 | 2018-03-12 | 增加新技术知识、完善知识体系 |
10+
| v2.0 | 2019-02-19 | 结构调整,更适合从入门到精通;<br>进一步完善知识体系; <br>新技术补充;|

docs/_coverpage.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<section class="cover show" style="background: linear-gradient(to left bottom, hsl(220, 100%, 85%) 0%,hsl(103, 100%, 85%) 100%)">
2+
3+
<div class="cover-main"><img width="180px" src="icon/icon.JPG">
4+
5+
<h1 id="toBeTopJavaer">
6+
<a><span>To Be Top Javaer - Java工程师成神之路</span></a></h1>
7+
8+
9+
10+
![](https://img.shields.io/badge/version-v2.0.0-green.svg) ![](https://img.shields.io/badge/author-Hollis-yellow.svg) ![](https://img.shields.io/badge/license-GPL-blue.svg)
11+
12+
13+
<span id="busuanzi_container_site_pv" style="display: inline;">
14+
👁️本页总访问次数:<span id="busuanzi_value_site_pv"></span>
15+
</span>
16+
<span id="busuanzi_container_site_uv" style="display: inline;">
17+
| 🧑总访客数: <span id="busuanzi_value_site_uv"></span>
18+
</span>
19+
20+
21+
<a href="#/README">Get Started</a></p></div><div class="mask"></div></section>

docs/_sidebar.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
## 一、基础篇
3+
4+
### 面向对象
5+
6+
#### 什么是面向对象
7+
8+
* [面向对象、面向过程](../basics/java-basic/object-oriented-vs-procedure-oriented.md)
9+
10+
* [面向对象的三大基本特征](/basics/java-basic/characteristics.md)
11+
12+
* [五大基本原则](/basics/java-basic/principle.md)

docs/icon/icon.JPG

48.7 KB
Loading

docs/index.html

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Document</title>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7+
<meta name="description" content="Description">
8+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9+
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
10+
</head>
11+
<body>
12+
<div id="app"></div>
13+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
14+
<script>
15+
window.$docsify = {
16+
17+
name: 'toBeTopJavaer',
18+
repo: 'https://github.com/hollischuang/toBeTopJavaer',
19+
coverpage:true,
20+
loadSidebar: true,
21+
subMaxLevel: 2,
22+
search : [
23+
'/', // => /README.md
24+
'/guide', // => /guide.md
25+
'/get-started', // => /get-started.md
26+
'/zh-cn/', // => /zh-cn/README.md
27+
],
28+
29+
// 完整配置参数
30+
search: {
31+
maxAge: 86400000, // 过期时间,单位毫秒,默认一天
32+
paths: [], // or 'auto'
33+
placeholder: 'Type to search',
34+
35+
// 支持本地化
36+
placeholder: {
37+
'/zh-cn/': '搜索',
38+
'/': 'Type to search'
39+
},
40+
41+
noData: 'No Results!',
42+
43+
// 支持本地化
44+
noData: {
45+
'/zh-cn/': '找不到结果',
46+
'/': 'No Results'
47+
},
48+
49+
// 搜索标题的最大程级, 1 - 6
50+
depth: 2
51+
}
52+
}
53+
</script>
54+
<script src="//unpkg.com/docsify"></script>
55+
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
56+
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
57+
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
58+
</body>
59+
</html>

0 commit comments

Comments
 (0)
0