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/24 11:48:00 UTC

[pulsar] branch master updated: [fix][website]fix: assets path (#15744)

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

urfree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new ffe8953ac9f [fix][website]fix: assets path (#15744)
ffe8953ac9f is described below

commit ffe8953ac9f843240a5be0fdcd24a075ee46a196
Author: Li Li <ur...@apache.org>
AuthorDate: Tue May 24 19:47:53 2022 +0800

    [fix][website]fix: assets path (#15744)
---
 site2/docs/concepts-architecture-overview.md | 6 +++---
 site2/website/start.sh                       | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/site2/docs/concepts-architecture-overview.md b/site2/docs/concepts-architecture-overview.md
index 0bc2bb62875..19e84f93eaa 100644
--- a/site2/docs/concepts-architecture-overview.md
+++ b/site2/docs/concepts-architecture-overview.md
@@ -14,7 +14,7 @@ In a Pulsar cluster:
 
 The diagram below provides an illustration of a Pulsar cluster:
 
-![Pulsar architecture diagram](assets/pulsar-system-architecture.png)
+![Pulsar architecture diagram](/assets/pulsar-system-architecture.png)
 
 At the broader instance level, an instance-wide ZooKeeper cluster called the configuration store handles coordination tasks involving multiple clusters, for example [geo-replication](concepts-replication).
 
@@ -91,7 +91,7 @@ persistent://my-tenant/my-namespace/my-topic
 
 You can see an illustration of how brokers and bookies interact in the diagram below:
 
-![Brokers and bookies](assets/broker-bookie.png)
+![Brokers and bookies](/assets/broker-bookie.png)
 
 
 ### Ledgers
@@ -155,7 +155,7 @@ You can use your own service discovery system if you'd like. If you use your own
 
 The diagram below illustrates Pulsar service discovery:
 
-![alt-text](assets/pulsar-service-discovery.png)
+![alt-text](/assets/pulsar-service-discovery.png)
 
 In this diagram, the Pulsar cluster is addressable via a single DNS name: `pulsar-cluster.acme.com`. A [Python client](client-libraries-python), for example, could access this Pulsar cluster like this:
 
diff --git a/site2/website/start.sh b/site2/website/start.sh
index b8012dd208d..b582ddf2d0f 100755
--- a/site2/website/start.sh
+++ b/site2/website/start.sh
@@ -14,5 +14,6 @@ fi
 
 cd $ROOT_DIR/site2/.preview/pulsar-site/site2/website-next
 
-sh scripts/sync-docs.sh $ROOT_DIR/site2/
+yarn install
+sh scripts/sync-docs.sh $ROOT_DIR/site2
 node scripts/watch.js $ROOT_DIR/site2 $@