fix: add alias for summary document

为内容概要文档添加别名,修复回退错误
This commit is contained in:
yanglbme 2020-04-06 09:53:49 +08:00
parent ee7f18e797
commit fe9553686b
2 changed files with 17 additions and 6 deletions

View File

@ -4,6 +4,5 @@
> 本系列知识由 Doocs 技术社区总结发布,内容涵盖高并发、分布式、高可用、微服务、海量数据处理等
[社区首页](https://github.com/doocs/doocs.github.io)
[维护者](https://github.com/yanglbme)
[社区首页](https://doocs.github.io)
[开始学习](#互联网-java-工程师进阶知识完全扫盲©)

View File

@ -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'