feat: alias option supports regexp, resolve #183

This commit is contained in:
qingwei.li 2017-07-10 22:19:55 +08:00
commit c4aa22c56d
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
2 changed files with 10 additions and 5 deletions

View file

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