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/02/17 04:31:15 UTC

[pulsar-site] branch main updated: fix: versions fix

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

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


The following commit(s) were added to refs/heads/main by this push:
     new ad01b80  fix: versions fix
ad01b80 is described below

commit ad01b8027b1fc0219b3a9683c8f7d1a71fd7a6ff
Author: LiLi <ur...@apache.org>
AuthorDate: Thu Feb 17 12:31:02 2022 +0800

    fix: versions fix
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/docusaurus.config.js      | 1 +
 site2/website-next/src/theme/Navbar/index.js | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/site2/website-next/docusaurus.config.js b/site2/website-next/docusaurus.config.js
index ac72d80..a43d21a 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -121,6 +121,7 @@ module.exports = {
           position: "left",
           label: "Docs",
         },
+        { to: "/versions", label: "Versions", position: "left" },
         { to: "/download", label: "Download", position: "left" },
         {
           type: "doc",
diff --git a/site2/website-next/src/theme/Navbar/index.js b/site2/website-next/src/theme/Navbar/index.js
index 31ae1e9..3759d4c 100644
--- a/site2/website-next/src/theme/Navbar/index.js
+++ b/site2/website-next/src/theme/Navbar/index.js
@@ -304,9 +304,9 @@ function Navbar() {
               setVersion(latestStableVersion);
             }}
           />
-          <a className="font-bold underline mr-4 -ml-4" href="/versions/">
+          {/* <a className="font-bold underline mr-4 -ml-4" href="/versions/">
             {getVersion() == "master" ? "next" : getVersion()}
-          </a>
+          </a> */}
           {leftItems.map((item, i) => {
             if (item.label == "REST APIs") {
               item.items = item.items.map((e) => {