diff --git a/index.html b/index.html index 2b138ea7..b46971d0 100644 --- a/index.html +++ b/index.html @@ -25,12 +25,14 @@ relativePath: true, auto2top: false, alias: { - '/(README.*)': '/translations/$1', - '/((?!README).*)/README.(.*)': '$1/translations/README.$2', + '/(README.(.*))': '/translations/$1', + '#/((?!README).*)/README.(.*)': '$1/translations/README.$2', + '/((?!README).*)/((?!README).*)/README.(.*)': '$1/$2/translations/README.$3', // handle English, since English files isn't in translation folders '/(README$)': '/$1', - '/((?!README).*)/(README$)': '$1/$2' + '#/((?!README).*)/(README$)': '$1/$2', + '/((?!README).*)/((?!README).*)/(README$)': '$1/$2/$3' } }