You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/02/17 04:08:52 UTC

[skywalking-website] branch master updated: To lower case the menu url (#216)

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 e93778f  To lower case the menu url (#216)
e93778f is described below

commit e93778f5ab0bff40889a062e57d8edd99cf67dde
Author: Juntao Zhang <jt...@163.com>
AuthorDate: Wed Feb 17 12:08:42 2021 +0800

    To lower case the menu url (#216)
---
 docs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs.js b/docs.js
index 4e37132..c3dd84a 100644
--- a/docs.js
+++ b/docs.js
@@ -158,7 +158,7 @@ function handleMenuPath(list, localPath) {
   list.forEach(item => {
     const pagePath = item.path;
     if (pagePath) {
-      item.path = pagePath.startsWith('http') ? pagePath : localPath + pagePath;
+      item.path = pagePath.startsWith('http') ? pagePath : (localPath + pagePath).toLowerCase();
     }
     if (item.catalog) {
       handleMenuPath(item.catalog, localPath)