Skip to content

Commit 62c8772

Browse files
Lorchrliuhui
Lorchr
authored and
liuhui
committed
update
1 parent db5cf78 commit 62c8772

File tree

4 files changed

+807
-26
lines changed

4 files changed

+807
-26
lines changed

docs/index.html

+27-13
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
77
<meta name="description" content="Description">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
9-
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"> -->
10-
<!-- 主题 -->
11-
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/buble.css"> -->
12-
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/dark.css"> -->
13-
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/pure.css"> -->
14-
<!-- https://docsify-darklight-theme.boopathikumar.me/#/installation -->
15-
<!-- https://osiris-ui.github.io/osiris/#/quick-start -->
16-
9+
<!-- 官方主题 -->
10+
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"> -->
11+
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css"> -->
12+
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css"> -->
13+
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css"> -->
14+
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dolphin.css"> -->
15+
<!-- https://github.com/boopathikumar018/docsify-darklight-theme -->
1716
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css" title="docsify-darklight-theme" type="text/css" />
17+
<!-- https://github.com/jhildenbiddle/docsify-themeable -->
18+
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css"> -->
1819
</head>
1920
<body>
2021
<div id="app"></div>
@@ -28,11 +29,12 @@
2829
basePath: "https://lorchr.github.io/light-docsify/",
2930
// 加载 _sidebar.md 侧边导航栏
3031
loadSidebar: true,
31-
maxLevel: 2,
32-
subMaxLevel: 2,
32+
maxLevel: 2, // 默认情况下会抓取文档中所有标题渲染成目录,可配置最大支持渲染的标题层级。
33+
subMaxLevel: 2, // 生成目录的最大层级
34+
mergeNavbar: true, // 小屏设备下合并导航栏到侧边栏
3335
alias: {
34-
// '/.*/_sidebar.md': '/_sidebar.md', //防止意外回退
35-
'/.*/_navbar.md': '/_navbar.md' //防止意外回退
36+
// '/.*/_sidebar.md': '/_sidebar.md', // 防止意外回退,多个文档目录独立的导航栏时,不需要此项
37+
'/.*/_navbar.md': '/_navbar.md' // 防止意外回退
3638
},
3739
// 加载 _navbar.md 顶部导航栏
3840
loadNavbar: true,
@@ -50,7 +52,17 @@
5052
depth: 3,
5153
hideOtherSidebarContent: false,
5254
notice: 'Docsify-Guide'
53-
}
55+
},
56+
// 分页导航,在文档的最下方会展示上一个文档和下一个文档。
57+
pagination: {
58+
previousText: '上一章节',
59+
nextText: '下一章节',
60+
crossChapter: true,
61+
crossChapterText: false,
62+
},
63+
// 设置路由模式,默认为hash,
64+
// 设置为 history 后,浏览器链接里不会出现 #,可能会对 SEO 更友好,
65+
routerMode: 'history',
5466
}
5567
</script>
5668
<!-- Docsify v4 -->
@@ -63,6 +75,8 @@
6375
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
6476
<!--复制到剪切板-->
6577
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
78+
<!-- 分页导航 -->
79+
<script src="//cdn.jsdelivr.net/npm/docsify-pagination@2/dist/docsify-pagination.min.js"></script>
6680
<!-- 代码高亮 -->
6781
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
6882
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-http.min.js"></script>

docs/zh-cn/devenv.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ GUID生成:https://www.guidgen.com/
3333
## 2. Git
3434
```shell
3535

36-
git config --global user.name "liuhui"
37-
git config --global user.email "hliu@pisx.com"
36+
git config --global user.name "lorchr"
37+
git config --global user.email "lorchr@163.com"
3838

39-
ssh-keygen -t rsa -C "hliu@pisx.com"
40-
cat /c/Users/pisx/.ssh/id_rsa.pub
39+
ssh-keygen -t rsa -C "lorchr@163.com"
40+
cat /c/Users/lorchr/.ssh/id_rsa.pub
4141

4242
git init
4343
git add .
4444
git commit -m "Init project"
45-
git remote add origin https://gitee.com/lorchr/spring-boot-samples.git
45+
git remote add origin https://cloud.com/lorchr/spring-cloud-samples.git
4646
git branch --set-upstream-to=origin/master master
4747
git push -u origin master
4848
```

docs/zh-cn/linux.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,30 @@
66
# 2. Ntp Time Sync
77
[Ntp Time Sync](linux/common/Ntp-Time-Sync.md ':include')
88

9+
# 3. Linux Command
10+
[Linux Command](linux/common/Linux-Command.md ':include')
911

1012

11-
# 3. Install JDK
13+
# 11. Install JDK
1214
[Install Docker Registry](linux/install/Install-JDK.md ':include')
1315

14-
# 4. Install NodeJS
16+
# 12. Install NodeJS
1517
[Install Docker Registry](linux/install/Install-NodeJS.md ':include')
1618

17-
# 5. Install Maven
19+
# 13. Install Maven
1820
[Install Docker Registry](linux/install/Install-Maven.md ':include')
1921

20-
# 6. Install Gitea
22+
# 14. Install Gitea
2123
[Install Docker Registry](linux/install/Install-Gitea.md ':include')
2224

23-
# 7. Install Nexus3
25+
# 15. Install Nexus3
2426
[Install Docker Registry](linux/install/Install-Nexus3.md ':include')
2527

26-
# 8. Install Jenkins
28+
# 16. Install Jenkins
2729
[Install Docker Registry](linux/install/Install-Jenkins.md ':include')
2830

29-
# 9. Install Harbor
31+
# 17. Install Harbor
3032
[Install Docker Registry](linux/install/Install-Harbor.md ':include')
3133

32-
# 10. Install Docker Registry
34+
# 18. Install Docker Registry
3335
[Install Docker Registry](linux/install/Install-Docker-Registry.md ':include')

0 commit comments

Comments
 (0)