You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/09/08 00:59:45 UTC

[pulsar-site] 02/02: update

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch version-banner
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit 69129b7cb68540fa40abd334bf9dae77f9780409
Author: Li Li <ur...@apache.org>
AuthorDate: Wed Sep 7 19:42:35 2022 +0800

    update
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/src/theme/DocVersionBanner/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site2/website-next/src/theme/DocVersionBanner/index.js b/site2/website-next/src/theme/DocVersionBanner/index.js
index 47c2a066296..d1c52e42aa6 100644
--- a/site2/website-next/src/theme/DocVersionBanner/index.js
+++ b/site2/website-next/src/theme/DocVersionBanner/index.js
@@ -107,7 +107,7 @@ function DocVersionBannerEnabled({ className, versionMetadata }) {
 
   let path = latestVersionSuggestedDoc.path;
   let reg = new RegExp("/" + versionMetadata.version + "/");
-  path = path.replace(reg, "");
+  path = path.replace(reg, "/");
   return (
     <div
       className={clsx(