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/04 07:22:15 UTC

[pulsar-site] branch main updated (bc158f2 -> 2aff867)

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

urfree pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git.


    from bc158f2  update
     new 90bdbf7  update
     new 2aff867  update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 site2/tools/build-site.sh                                         | 6 +++++-
 site2/website-next/package.json                                   | 4 ++--
 site2/website-next/versioned_docs/version-2.8.2/about.md          | 1 +
 site2/website-next/versioned_docs/version-2.9.1/adaptors-kafka.md | 1 +
 4 files changed, 9 insertions(+), 3 deletions(-)

[pulsar-site] 01/02: update

Posted by ur...@apache.org.
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 90bdbf75b5dde7ea1b088bac666f73223d52b49c
Author: LiLi <ur...@apache.org>
AuthorDate: Fri Mar 4 15:20:13 2022 +0800

    update
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/tools/build-site.sh       | 6 +++++-
 site2/website-next/package.json | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/site2/tools/build-site.sh b/site2/tools/build-site.sh
index ad184bb..de6ae29 100755
--- a/site2/tools/build-site.sh
+++ b/site2/tools/build-site.sh
@@ -98,7 +98,11 @@ cd ${ROOT_DIR}/site2/$WEBSITE_DIR
 yarn
 
 if [ -n "$NEXT" ]; then
-  yarn download
+  CURRENT_HOUR=$(date +%H)
+  if [[ "$CROWDIN_UPLOAD" == "1" || $CURRENT_HOUR -lt 6 ]]; then
+    yarn run crowdin-upload
+  fi
+  yarn crowdin-download
 
   node scripts/replace.js
   node scripts/split-swagger-by-version.js
diff --git a/site2/website-next/package.json b/site2/website-next/package.json
index 536cc49..7e0ec9c 100644
--- a/site2/website-next/package.json
+++ b/site2/website-next/package.json
@@ -14,8 +14,8 @@
     "write-translations": "docusaurus write-translations",
     "write-heading-ids": "docusaurus write-heading-ids",
     "crowdin": "crowdin",
-    "upload": "crowdin upload",
-    "download": "crowdin download"
+    "crowdin-upload": "crowdin upload",
+    "crowdin-download": "crowdin download"
   },
   "dependencies": {
     "@crowdin/cli": "3.7.4",

[pulsar-site] 02/02: update

Posted by ur...@apache.org.
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 2aff867daa02730db7bd01c50f841a01575f2217
Author: LiLi <ur...@apache.org>
AuthorDate: Fri Mar 4 15:21:24 2022 +0800

    update
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/versioned_docs/version-2.8.2/about.md          | 1 +
 site2/website-next/versioned_docs/version-2.9.1/adaptors-kafka.md | 1 +
 2 files changed, 2 insertions(+)

diff --git a/site2/website-next/versioned_docs/version-2.8.2/about.md b/site2/website-next/versioned_docs/version-2.8.2/about.md
index 2e54f35..2b61df7 100644
--- a/site2/website-next/versioned_docs/version-2.8.2/about.md
+++ b/site2/website-next/versioned_docs/version-2.8.2/about.md
@@ -8,6 +8,7 @@ import BlockLinks from "@site/src/components/BlockLinks";
 import BlockLink from "@site/src/components/BlockLink";
 import { docUrl } from "@site/src/utils/index";
 
+
 # Welcome to the doc portal!
 ***
 
diff --git a/site2/website-next/versioned_docs/version-2.9.1/adaptors-kafka.md b/site2/website-next/versioned_docs/version-2.9.1/adaptors-kafka.md
index 99ba245..ea25604 100644
--- a/site2/website-next/versioned_docs/version-2.9.1/adaptors-kafka.md
+++ b/site2/website-next/versioned_docs/version-2.9.1/adaptors-kafka.md
@@ -5,6 +5,7 @@ sidebar_label: "Kafka client wrapper"
 original_id: adaptors-kafka
 ---
 
+
 Pulsar provides an easy option for applications that are currently written using the [Apache Kafka](http://kafka.apache.org) Java client API.
 
 ## Using the Pulsar Kafka compatibility wrapper