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 ce0897a update
ce0897a is described below
commit ce0897a5ae0ecfa8eea5c583826f28d9da48ce86
Author: LiLi <[email protected]>
AuthorDate: Fri Feb 25 15:43:32 2022 +0800
update
Signed-off-by: LiLi <[email protected]>
---
site2/website-next/docusaurus.config.js | 44 ---------------------------------
site2/website-next/scripts/docker.sh | 6 ++---
site2/website-next/versions.json | 2 +-
3 files changed, 4 insertions(+), 48 deletions(-)
diff --git a/site2/website-next/docusaurus.config.js
b/site2/website-next/docusaurus.config.js
index f83936d..70e9f34 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -259,65 +259,21 @@ module.exports = {
position: "right",
items: [
{
- label: "2.9.1",
- to: "/docs/",
- },
- {
label: "2.9.0",
to: "/docs/2.9.0/",
},
{
- label: "2.8.2",
- to: "/docs/2.8.2/",
- },
- {
- label: "2.8.1",
- to: "/docs/2.8.1/",
- },
- {
label: "2.8.0",
to: "/docs/2.8.0/",
},
{
- label: "2.7.3",
- to: "/docs/2.7.3/",
- },
- {
- label: "2.7.2",
- to: "/docs/2.7.2/",
- },
- {
- label: "2.7.1",
- to: "/docs/2.7.1/",
- },
- {
label: "2.7.0",
to: "/docs/2.7.0/",
},
{
- label: "2.6.4",
- to: "/docs/2.6.4/",
- },
- {
- label: "2.6.3",
- to: "/docs/2.6.3/",
- },
- {
- label: "2.6.2",
- to: "/docs/2.6.2/",
- },
- {
- label: "2.6.1",
- to: "/docs/2.6.1/",
- },
- {
label: "2.6.0",
to: "/docs/2.6.0/",
},
- {
- label: "2.2.0",
- to: "/docs/2.2.0/",
- },
],
},
],
diff --git a/site2/website-next/scripts/docker.sh
b/site2/website-next/scripts/docker.sh
index e61d425..a8ba676 100755
--- a/site2/website-next/scripts/docker.sh
+++ b/site2/website-next/scripts/docker.sh
@@ -10,12 +10,12 @@ then
# use httpd
echo "reload"
# use nginx
- # docker exec -it $CONTAINER_NAME nginx -s reload
+ docker exec -it $CONTAINER_NAME nginx -s reload
else
# use httpd
- docker run -dit --name $CONTAINER_NAME -p 80:80 -v
$ROOT_DIR/site2/website-next/build:/usr/local/apache2/htdocs/ -v
$ROOT_DIR/site2/website-next/scripts/httpd.conf:/usr/local/apache2/conf/httpd.conf
httpd:2.4-alpine
+ # docker run -dit --name $CONTAINER_NAME -p 80:80 -v
$ROOT_DIR/site2/website-next/build:/usr/local/apache2/htdocs/ -v
$ROOT_DIR/site2/website-next/scripts/httpd.conf:/usr/local/apache2/conf/httpd.conf
httpd:2.4-alpine
# use nginx
- # docker run --name $CONTAINER_NAME -d -p 80:80 -v
$ROOT_DIR/site2/website-next/build:/usr/share/nginx/html nginx:1.18.0-alpine
+ docker run --name $CONTAINER_NAME -d -p 80:80 -v
$ROOT_DIR/site2/website-next/build:/usr/share/nginx/html nginx:1.18.0-alpine
# test old website
# docker run --name $CONTAINER_NAME -d -p 80:80 -v
$ROOT_DIR/../pulsar/site2/website/build/pulsar:/usr/share/nginx/html
nginx:1.18.0-alpine
fi
diff --git a/site2/website-next/versions.json b/site2/website-next/versions.json
index f829e1e..3c22abe 100644
--- a/site2/website-next/versions.json
+++ b/site2/website-next/versions.json
@@ -1 +1 @@
-["2.9.1"]
+["2.9.1", "2.9.0"]