From 64ff80a6f63fe365f9c1d49d737577e6be93089d Mon Sep 17 00:00:00 2001 From: Mark Battistella Date: Mon, 15 Feb 2021 09:07:00 +1100 Subject: [PATCH] Updated alias The expression in alias `(+*)` is invalid and a correct working method would be `(.*)` --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',