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:30 UTC
[pulsar-site] branch main updated: fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5 (#217)
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 a8f058769f5 fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5 (#217)
a8f058769f5 is described below
commit a8f058769f5211a785ef4df1cbfd25ab9750591d
Author: Li Li <ur...@apache.org>
AuthorDate: Wed Sep 21 09:19:26 2022 +0800
fix banner text and force build by empty commit: BUILD_VERSIONS=2.9.x,2.8.x,2.7.5 (#217)
---
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