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 9806b4c  fix: remove some comment code
9806b4c is described below

commit 9806b4c1f257683bd4aac2d79f53b7e80cf11f8e
Author: Li Li <[email protected]>
AuthorDate: Thu Mar 31 16:48:42 2022 +0800

    fix: remove some comment code
    
    Signed-off-by: Li Li <[email protected]>
---
 site2/website-next/docusaurus.config.js | 57 ---------------------------------
 1 file changed, 57 deletions(-)

diff --git a/site2/website-next/docusaurus.config.js 
b/site2/website-next/docusaurus.config.js
index 71e9a6a..f74e3ee 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -148,60 +148,10 @@ module.exports = {
           ],
         },
         {
-          // type: "doc",
-          // docId: "about",
           to: "/docs/next",
           position: "right",
           label: "Docs",
         },
-        // {
-        //   label: "REST APIs",
-        //   position: "right",
-        //   items: [
-        //     {
-        //       label: "Admin REST API",
-        //       to: "/admin-rest-api",
-        //     },
-        //     {
-        //       label: "Functions",
-        //       to: "/functions-rest-api",
-        //     },
-        //     {
-        //       label: "Sources",
-        //       to: "/source-rest-api",
-        //     },
-        //     {
-        //       label: "Sinks",
-        //       to: "/sink-rest-api",
-        //     },
-        //     {
-        //       label: "Packages",
-        //       to: "/packages-rest-api",
-        //     },
-        //   ],
-        // },
-        // {
-        //   label: "CLI",
-        //   position: "right",
-        //   items: [
-        //     {
-        //       label: "Pulsar Admin",
-        //       to: "/pulsar-admin-cli",
-        //     },
-        //     {
-        //       label: "Pulsar Client",
-        //       to: "/pulsar-client-cli",
-        //     },
-        //     {
-        //       label: "Pulsar Perf",
-        //       to: "/pulsar-perf-cli",
-        //     },
-        //     {
-        //       label: "Pulsar",
-        //       to: "/pulsar-cli",
-        //     },
-        //   ],
-        // },
         {
           type: "dropdown",
           label: "Community",
@@ -356,13 +306,6 @@ module.exports = {
           path: "docs",
           sidebarPath: require.resolve("./sidebars.js"),
           editUrl: `${githubUrl}/edit/master/site2`,
-          // lastVersion: "current",
-          // versions: {
-          //   current: {
-          //     label: "Master",
-          //     path: "/docs/next",
-          //   },
-          // },
           remarkPlugins: [
             linkifyRegex(
               /{\@inject\:\s?(((?!endpoint)[^}])+):([^}]+):([^}]+)}/,

Reply via email to