diff --git a/docs/configuration.md b/docs/configuration.md index 7b3b5fcda..3ea277698 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -354,7 +354,7 @@ Set the route alias. You can freely manage routing rules. Supports RegExp. ```js window.$docsify = { alias: { - '/foo/(+*)': '/bar/$1', // supports regexp + '/foo/(.*)': '/bar/$1', // supports regexp '/zh-cn/changelog': '/changelog', '/changelog': 'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG',