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

twice pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git


The following commit(s) were added to refs/heads/main by this push:
     new f1350d8  Add Kvrocks Controller 1.0.0 to the download page (#236)
f1350d8 is described below

commit f1350d8d0bba7bab2fba2b8c98751ca97928f09b
Author: hulk <[email protected]>
AuthorDate: Tue Jul 23 19:11:23 2024 +0800

    Add Kvrocks Controller 1.0.0 to the download page (#236)
---
 sidebarsDownload.js                            | 1 +
 src/components/Releases/kvrocks-controller.tsx | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sidebarsDownload.js b/sidebarsDownload.js
index 97fbfd8..e229ffe 100644
--- a/sidebarsDownload.js
+++ b/sidebarsDownload.js
@@ -2,6 +2,7 @@
 const sidebars = {
     docs: [
         'index',
+        'kvrocks-controller',
         'third-party-packages',
     ],
 };
diff --git a/src/components/Releases/kvrocks-controller.tsx 
b/src/components/Releases/kvrocks-controller.tsx
index 9fec5df..22b3491 100644
--- a/src/components/Releases/kvrocks-controller.tsx
+++ b/src/components/Releases/kvrocks-controller.tsx
@@ -1,6 +1,11 @@
 import React from "react";
 
-const controller_versions = []
+const controller_versions = [
+    {
+        version: '1.0.0',
+        vtag: '1.0.0'
+    },
+]
 
 type ReleaseData = {
     name: string,
@@ -11,7 +16,7 @@ type ReleaseData = {
 
 function createReleaseData(version: string, vtag?: string): ReleaseData {
     const fixedVTag = vtag ?? version;
-    const archive = 
`https://downloads.apache.org/kvrocks/kvrocks-controller/${version}/apache-kvrocks-controller-${fixedVTag}-src.tar.gz`
+    const archive = 
`https://downloads.apache.org/kvrocks/kvrocks-controller/${version}/apache-kvrocks-controller-src-${fixedVTag}.tar.gz`
     return {
         name: fixedVTag,
         archive: archive,

Reply via email to