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

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


The following commit(s) were added to refs/heads/PragmaTwice-patch-1 by this 
push:
     new 35e32a6  add sidebar
35e32a6 is described below

commit 35e32a62897710849d3429e026e82d509e4c9b3e
Author: PragmaTwice <[email protected]>
AuthorDate: Sat Sep 23 23:47:48 2023 +0900

    add sidebar
---
 docusaurus.config.js | 1 +
 sidebarsDownload.js  | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 8d78ba0..e09b6f4 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -31,6 +31,7 @@ const config = {
         id: 'download',
         path: 'download',
         routeBasePath: 'download',
+        sidebarPath: require.resolve('./sidebarsDownload.js'),
         editUrl: 'https://github.com/apache/kvrocks-website/tree/main/',
       },
     ],
diff --git a/sidebarsDownload.js b/sidebarsDownload.js
new file mode 100644
index 0000000..e0e16fe
--- /dev/null
+++ b/sidebarsDownload.js
@@ -0,0 +1,9 @@
+/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
+const sidebars = {
+    docs: [
+        'index',
+        'community-packages',
+    ],
+};
+
+module.exports = sidebars;

Reply via email to