This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
The following commit(s) were added to refs/heads/master by this push:
new 185a3dcff0 fix: path letter case (#506)
185a3dcff0 is described below
commit 185a3dcff039b0cf838717eeb9b2f1101ccea512
Author: Juntao Zhang <[email protected]>
AuthorDate: Wed Sep 14 11:26:14 2022 +0800
fix: path letter case (#506)
---
themes/docsy/layouts/projectDoc/baseof.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/docsy/layouts/projectDoc/baseof.html
b/themes/docsy/layouts/projectDoc/baseof.html
index 2d64fea032..0844fc5e8e 100644
--- a/themes/docsy/layouts/projectDoc/baseof.html
+++ b/themes/docsy/layouts/projectDoc/baseof.html
@@ -39,7 +39,7 @@
$('.td-sidebar').toggleClass('active')
})
$('.version-select').on('change', function (){
- var selectVersion = $(this).val();
+ var selectVersion = $(this).val().toLowerCase();
var prefix = '';
var url =
location.href.replace(/(\/docs\/[a-zA-Z\-]+\/)([\w|\.]+)(\/.*)/, function
(match, p1, p2, p3){
prefix = p1 + selectVersion;