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/05/09 05:39:41 UTC

[pulsar-site] branch main updated: feat: build all languages

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 fd4b2ab3a22 feat: build all languages
fd4b2ab3a22 is described below

commit fd4b2ab3a225817740e3109a345ddd9dbe22857c
Author: Li Li <ur...@apache.org>
AuthorDate: Mon May 9 13:39:12 2022 +0800

    feat: build all languages
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/docusaurus.config.js | 2 +-
 site2/website-next/scripts/sync-docs.sh | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/site2/website-next/docusaurus.config.js b/site2/website-next/docusaurus.config.js
index 181e54cdb17..283a439c474 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -129,7 +129,7 @@ module.exports = {
   },
   i18n: {
     defaultLocale: "en",
-    locales: ["en", "zh-CN"], //, "zh-TW", "ja", "fr", "ko"
+    locales: ["en", "zh-CN", "zh-TW", "ja", "fr", "ko"],
     localeConfigs: {
       "zh-CN": {
         label: "简体中文",
diff --git a/site2/website-next/scripts/sync-docs.sh b/site2/website-next/scripts/sync-docs.sh
index 23c6a015ca5..74073cf0a90 100755
--- a/site2/website-next/scripts/sync-docs.sh
+++ b/site2/website-next/scripts/sync-docs.sh
@@ -43,5 +43,6 @@ else
     yarn install
 fi
 
+node scripts/split-swagger-by-version.js
 node migrate/migrate-blogs.js
 node migrate/migrate-full.js