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/09/21 01:19:00 UTC

[pulsar-site] branch fix-banner-text-0921 created (now 8695d47ab41)

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

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


      at 8695d47ab41 fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5

This branch includes the following new commits:

     new 8695d47ab41 fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5

The 1 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.



[pulsar-site] 01/01: fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5

Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch fix-banner-text-0921
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit 8695d47ab41319f37d8448eb1405b81c5c59f83a
Author: Li Li <ur...@apache.org>
AuthorDate: Wed Sep 21 09:18:44 2022 +0800

    fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/scripts/code.json              | 10 +++++++---
 site2/website-next/scripts/split-version-build.sh |  3 ++-
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/site2/website-next/scripts/code.json b/site2/website-next/scripts/code.json
index 04afa43b224..2f231586990 100644
--- a/site2/website-next/scripts/code.json
+++ b/site2/website-next/scripts/code.json
@@ -121,15 +121,19 @@
     "message": "Here you can find documentation for previous versions of Apache Pulsar."
   },
   "theme.docs.versions.unreleasedVersionLabel": {
-    "message": "This documentation is for an unreleased {siteTitle} {versionLabel} version of Apache Pulsar. ",
+    "message": "This is unreleased documentation for Next.",
     "description": "The label used to tell the user that he's browsing an unreleased doc version"
   },
+  "theme.docs.versions.maintainedVersionLabel": {
+    "message": "This is the documentation for {versionLabel}.",
+    "description": "The label used to tell the user that he's browsing an unmaintained doc version"
+  },
   "theme.docs.versions.unmaintainedVersionLabel": {
-    "message": "This documentation is for an out-of-date {siteTitle} {versionLabel} version of Apache Pulsar. ",
+    "message": "This is the documentation for {versionLabel}, which is no longer actively maintained.",
     "description": "The label used to tell the user that he's browsing an unmaintained doc version"
   },
   "theme.docs.versions.latestVersionSuggestionLabel": {
-    "message": "We recommend you use the {latestVersionLink} ({versionLabel}).",
+    "message": "For the latest stable version, see {latestVersionLink}.",
     "description": "The label used to tell the user to check the latest version"
   },
   "theme.docs.versions.latestVersionLinkLabel": {
diff --git a/site2/website-next/scripts/split-version-build.sh b/site2/website-next/scripts/split-version-build.sh
index 83a3a92f109..2dc679ddf26 100755
--- a/site2/website-next/scripts/split-version-build.sh
+++ b/site2/website-next/scripts/split-version-build.sh
@@ -63,7 +63,6 @@ else
 fi
 
 yarn write-translations
-cp scripts/code.json i18n/en/
 
 CURRENT_HOUR=$(date +%H)
 CURRENT_HOUR=${CURRENT_HOUR#0}
@@ -92,6 +91,8 @@ else
     echo "skip crowdin download"
 fi
 
+cp scripts/code.json i18n/en/
+
 # Build only the versions that has changed
 # Build next version that has any changed
 while read version; do