Skip to content

Commit

Permalink
fix: add alias for summary document
Browse files Browse the repository at this point in the history
为内容概要文档添加别名,修复回退错误
  • Loading branch information
yanglbme committed Apr 6, 2020
1 parent ee7f18e commit fe95536
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
3 changes: 1 addition & 2 deletions docs/extra-page/cover.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

> 本系列知识由 Doocs 技术社区总结发布,内容涵盖高并发、分布式、高可用、微服务、海量数据处理等
[社区首页](https://github.com/doocs/doocs.github.io)
[维护者](https://github.com/yanglbme)
[社区首页](https://doocs.github.io)
[开始学习](#互联网-java-工程师进阶知识完全扫盲©)
20 changes: 16 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,33 @@
<script>
window.$docsify = {
name: 'advanced-java',
// repo: 'doocs/advanced-java',
repo: 'doocs/advanced-java',
maxLevel: 3,
auto2top: true,
coverpage: true,
coverpage: 'docs/extra-page/cover.md',
loadSidebar: 'summary.md',
alias: {
'/.*/.*/summary': 'summary.md',
'/.*/summary.md': 'summary.md'
},
pagination: {
previousText: '上一篇',
nextText: '下一篇',
crossChapter: true,
crossChapterText: true
},
search: [
'/'
],
search: {
maxAge: 1800000,
paths: [
'/docs/high-concurrency/',
'/docs/distributed-system/',
'/docs/high-availability/',
'/docs/micor-services/',
'/docs/big-data/',
],
depth: 3
},
darkMode: {
light: {
toggleBtnBg: '#42b983'
Expand Down

0 comments on commit fe95536

Please sign in to comment.