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/05/06 03:00:00 UTC
[pulsar-site] branch fix/update-script created (now 0dfc210889)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a change to branch fix/update-script
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
at 0dfc210889 fix: update building-script
This branch includes the following new commits:
new 0dfc210889 fix: update building-script
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: update building-script
Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch fix/update-script
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 0dfc2108898c2558bd4f07840bd334d12ad532a0
Author: Li Li <ur...@apache.org>
AuthorDate: Fri May 6 10:59:49 2022 +0800
fix: update building-script
Signed-off-by: Li Li <ur...@apache.org>
---
site2/website-next/docusaurus.config.js | 2 +-
site2/website-next/scripts/split-version-build.sh | 2 +-
site2/website-next/scripts/split-version.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/site2/website-next/docusaurus.config.js b/site2/website-next/docusaurus.config.js
index 800e716228..283a439c47 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -163,7 +163,7 @@ module.exports = {
{
type: "doc",
label: "Quickstart",
- docId: "standalone",
+ docId: "getting-started-standalone",
},
{
label: "Ecosystem",
diff --git a/site2/website-next/scripts/split-version-build.sh b/site2/website-next/scripts/split-version-build.sh
index 8323c2eb67..75722f4eed 100755
--- a/site2/website-next/scripts/split-version-build.sh
+++ b/site2/website-next/scripts/split-version-build.sh
@@ -23,7 +23,7 @@ function _build() {
function _buildVersion() {
echo "..." $buildVersion "begin build..."
if [[ $buildVersion = "next" ]]; then
- echo "[\"current\"]" >.build-versions.json
+ echo "[\"current\", \"${latest}\"]" >.build-versions.json
else
echo "[\"${buildVersion}\"]" >.build-versions.json
fi
diff --git a/site2/website-next/scripts/split-version.js b/site2/website-next/scripts/split-version.js
index cba9312110..fb61a57770 100644
--- a/site2/website-next/scripts/split-version.js
+++ b/site2/website-next/scripts/split-version.js
@@ -3,6 +3,6 @@ const path = require("path");
const _ = require("lodash");
let versions = require("../versions.json");
const latestVersion = versions.shift();
-versions = versions.concat(["next", latestVersion]);
+versions = versions.concat(["next"]);
fs.writeFileSync(path.join(__dirname, ".versions"), versions.join("\n") + "\n");
fs.writeFileSync(path.join(__dirname, ".latest"), latestVersion + "\n");