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/06 04:10:47 UTC
[pulsar-site] 01/02: fix versions label
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
commit 92ee6609dbe56a66eae645739aed90ea68ee6f40
Author: Li Li <ur...@apache.org>
AuthorDate: Tue Sep 6 12:10:28 2022 +0800
fix versions label
Signed-off-by: Li Li <ur...@apache.org>
---
site2/website-next/src/theme/DocsVersionDropdownNavbarItem.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site2/website-next/src/theme/DocsVersionDropdownNavbarItem.js b/site2/website-next/src/theme/DocsVersionDropdownNavbarItem.js
index 6daa039b3fd..d0fbd614815 100644
--- a/site2/website-next/src/theme/DocsVersionDropdownNavbarItem.js
+++ b/site2/website-next/src/theme/DocsVersionDropdownNavbarItem.js
@@ -16,7 +16,7 @@ import { useDocsPreferredVersion } from "@docusaurus/theme-common";
import { translate } from "@docusaurus/Translate";
let versions = require("../../versions.json");
const _latestVersion = versions[0];
-versions = [{ name: "current", label: "Master", path: "/docs/next" }]
+versions = [{ name: "current", label: "Next", path: "/docs/next" }]
.concat(
versions.map((item) => {
return {
@@ -29,7 +29,7 @@ versions = [{ name: "current", label: "Master", path: "/docs/next" }]
.slice(0, 5)
.concat({
name: "others",
- label: "Other",
+ label: "Others",
path: "/versions",
});