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

commit 1ec7d1f75640d1935dad0b1db0a2dc197fa06226
Author: LiLi <[email protected]>
AuthorDate: Tue Jan 25 15:42:38 2022 +0800

    update
    
    Signed-off-by: LiLi <[email protected]>
---
 site2/tools/build-site.sh        |  2 +-
 site2/website-next/package.json  |  4 ++--
 site2/website-next/versions.json | 29 ++++++++++++++++++++++++++++-
 3 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/site2/tools/build-site.sh b/site2/tools/build-site.sh
index 9d698a7..cea398c 100755
--- a/site2/tools/build-site.sh
+++ b/site2/tools/build-site.sh
@@ -91,7 +91,7 @@ EOF
 
 set -x -e
 
-export NODE_OPTIONS="--max-old-space-size=8192" #increase to 8GB, default is 
512MB
+export NODE_OPTIONS="--max-old-space-size=16000"
 ${ROOT_DIR}/site2/tools/generate-api-docs.sh
 cd ${ROOT_DIR}/site2/$WEBSITE_DIR
 
diff --git a/site2/website-next/package.json b/site2/website-next/package.json
index 947beea..da1b854 100644
--- a/site2/website-next/package.json
+++ b/site2/website-next/package.json
@@ -4,8 +4,8 @@
   "private": true,
   "scripts": {
     "docusaurus": "docusaurus",
-    "start": "NODE_OPTIONS=--max_old_space_size=8192 node 
scripts/split-swagger-by-version.js && docusaurus start",
-    "build": "NODE_OPTIONS=--max_old_space_size=8192 docusaurus build",
+    "start": "NODE_OPTIONS=--max_old_space_size=16000 node 
scripts/split-swagger-by-version.js && docusaurus start",
+    "build": "NODE_OPTIONS=--max_old_space_size=16000 docusaurus build",
     "preview": "npm run build && git checkout . && sh scripts/docker.sh",
     "swizzle": "docusaurus swizzle",
     "deploy": "docusaurus deploy",
diff --git a/site2/website-next/versions.json b/site2/website-next/versions.json
index f829e1e..3db4784 100644
--- a/site2/website-next/versions.json
+++ b/site2/website-next/versions.json
@@ -1 +1,28 @@
-["2.9.1"]
+[
+  "2.9.1",
+  "2.9.0",
+  "2.8.2",
+  "2.8.1",
+  "2.8.0",
+  "2.7.3",
+  "2.7.2",
+  "2.7.1",
+  "2.7.0",
+  "2.6.4",
+  "2.6.3",
+  "2.6.2",
+  "2.6.1",
+  "2.6.0",
+  "2.5.2",
+  "2.5.1",
+  "2.5.0",
+  "2.4.2",
+  "2.4.1",
+  "2.4.0",
+  "2.3.2",
+  "2.3.1",
+  "2.3.0",
+  "2.2.1",
+  "2.2.0",
+  "2.1.1-incubating"
+]
\ No newline at end of file

Reply via email to