From a7407cbee530a830b0259f61aceaba32d35966ee Mon Sep 17 00:00:00 2001
From: Luffy <52o@qq52o.cn>
Date: Thu, 8 May 2025 17:09:52 +0800
Subject: [PATCH] docs: update Chinese documentation links to point to
release-v4
---
docs/index.html | 6 +++---
index.html | 9 ++++-----
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/docs/index.html b/docs/index.html
index e8ed4f156..0ea67c705 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -79,7 +79,7 @@
'/ru-ru/(.*)':
'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
'/zh-cn/(.*)':
- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/$1',
+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@release-v4/$1',
},
auto2top: true,
coverpage: true,
@@ -184,10 +184,10 @@
} else if (/jsdelivr\.net/.test(vm.route.file)) {
url = vm.route.file
.replace('cdn.jsdelivr.net/gh', 'github.com')
- .replace('@master', '/blob/master');
+ .replace('@release-v4', '/blob/release-v4');
} else {
url =
- 'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
+ 'https://github.com/docsifyjs/docsify/blob/release-v4/docs/' +
vm.route.file;
}
var editHtml = '[:memo: Edit Document](' + url + ')\n';
diff --git a/index.html b/index.html
index 1e112b233..4925e3cf8 100644
--- a/index.html
+++ b/index.html
@@ -47,7 +47,7 @@
'/ru-ru/(.*)':
'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
'/zh-cn/(.*)':
- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/$1',
+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@release-v4/$1',
},
auto2top: true,
basePath: '/docs/',
@@ -95,10 +95,10 @@
} else if (/jsdelivr\.net/.test(vm.route.file)) {
url = vm.route.file
.replace('cdn.jsdelivr.net/gh', 'github.com')
- .replace('@master', '/blob/master');
+ .replace('@release-v4', '/blob/release-v4');
} else {
url =
- 'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
+ 'https://github.com/docsifyjs/docsify/blob/release-v4/docs/' +
vm.route.file;
}
var editHtml = '[:memo: Edit Document](' + url + ')\n';
@@ -106,8 +106,7 @@
editHtml +
html +
'\n\n----\n\n' +
- 'Powered by docsify\n\n' +
- ''
+ 'Powered by docsify'
);
});
},
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: