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 <[email protected]> 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 <[email protected]> --- 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
