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/03/09 08:25:40 UTC

[pulsar-site] 03/03: update

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

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

commit 4056a89d9101d60f5945052b129af496bc4facce
Author: LiLi <ur...@apache.org>
AuthorDate: Wed Mar 9 16:25:26 2022 +0800

    update
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/docusaurus.config.js | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/site2/website-next/docusaurus.config.js b/site2/website-next/docusaurus.config.js
index ea9a369..ba0917e 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -390,15 +390,6 @@ module.exports = {
       },
     ],
     "./postcss-tailwind-loader",
-    // [
-    //   "@docusaurus/plugin-content-docs",
-    //   {
-    //     id: "releases-notes",
-    //     path: "all",
-    //     routeBasePath: "releases-notes",
-    //     sidebarPath: require.resolve("./sidebarsReleasesNotes.js"),
-    //   },
-    // ],
     [
       "content-docs",
       /** @type {import('@docusaurus/plugin-content-docs').Options} */
@@ -408,9 +399,9 @@ module.exports = {
         routeBasePath: "releases-notes",
         // editUrl: ({ locale, versionDocsDirPath, docPath }) => {
         //   if (locale !== "en") {
-        //     return `https://crowdin.com/project/docusaurus-v2/${locale}`;
+        //     return ``;
         //   }
-        //   return `https://github.com/facebook/docusaurus/edit/main/website/${versionDocsDirPath}/${docPath}`;
+        //   return ``;
         // },
         // editCurrentVersion: true,
         sidebarPath: require.resolve("./sidebarsReleasesNotes.js"),