feat: alias option supports regexp, resolve #183
This commit is contained in:
parent
9af855921e
commit
c4aa22c56d
2 changed files with 10 additions and 5 deletions
4
dev.html
4
dev.html
|
|
@ -19,9 +19,7 @@
|
|||
<script>
|
||||
window.$docsify = {
|
||||
alias: {
|
||||
'/de-de/changelog': '/changelog',
|
||||
'/zh-cn/changelog': '/changelog',
|
||||
'/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
|
||||
'.*?/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
|
||||
},
|
||||
auto2top: true,
|
||||
basePath: '/docs/',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue