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

hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 751ec2943e update links to point to pekko sample docs (#285)
751ec2943e is described below

commit 751ec2943edb6f57d48f18104ded1598aeb4707a
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Apr 14 13:54:23 2023 +0200

    update links to point to pekko sample docs (#285)
    
    * update links to point to pekko sample docs
    
    * use github links
---
 docs/src/main/paradox/additional/deploying.md   |  6 ++---
 docs/src/main/paradox/cluster-routing.md        |  2 +-
 docs/src/main/paradox/multi-jvm-testing.md      |  2 +-
 docs/src/main/paradox/project/examples.md       | 34 ++++++++++++-------------
 docs/src/main/paradox/typed/cluster-sharding.md |  6 ++---
 docs/src/main/paradox/typed/cluster.md          |  4 +--
 docs/src/main/paradox/typed/distributed-data.md |  4 +--
 docs/src/main/paradox/typed/fsm.md              |  4 +--
 docs/src/main/paradox/typed/persistence.md      |  8 +++---
 project/Paradox.scala                           |  4 +--
 10 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/docs/src/main/paradox/additional/deploying.md 
b/docs/src/main/paradox/additional/deploying.md
index 56e170feb8..a50ff312f1 100644
--- a/docs/src/main/paradox/additional/deploying.md
+++ b/docs/src/main/paradox/additional/deploying.md
@@ -14,7 +14,7 @@ To take advantage of running inside Kubernetes while forming 
a cluster,
 with the Kubernetes API or Kubernetes via DNS.  
 
 You can look at the
-@extref[Cluster with Kubernetes example 
project](samples:akka-sample-cluster-kubernetes-java)
+@extref[Cluster with Kubernetes example 
project](akka-samples:akka-sample-cluster-kubernetes-java)
 to see what this looks like in practice.
  
 ### Resource limits
@@ -28,8 +28,8 @@ that you will need to take special care with the network 
configuration when usin
 described here: @ref:[Pekko behind NAT or in a Docker 
container](../remoting-artery.md#remote-configuration-nat-artery)
 
 You can look at the
-@java[@extref[Cluster with docker-compse example 
project](samples:akka-sample-cluster-docker-compose-java)]
-@scala[@extref[Cluster with docker-compose example 
project](samples:akka-sample-cluster-docker-compose-scala)]
+@java[@extref[Cluster with docker-compse example 
project](akka-samples:akka-sample-cluster-docker-compose-java)]
+@scala[@extref[Cluster with docker-compose example 
project](akka-samples:akka-sample-cluster-docker-compose-scala)]
 to see what this looks like in practice.
 
 For the JVM to run well in a Docker container, there are some general (not 
Pekko specific) parameters that might need tuning:
diff --git a/docs/src/main/paradox/cluster-routing.md 
b/docs/src/main/paradox/cluster-routing.md
index cbff8fa4af..8d1abce7be 100644
--- a/docs/src/main/paradox/cluster-routing.md
+++ b/docs/src/main/paradox/cluster-routing.md
@@ -246,5 +246,5 @@ pekko.actor.deployment {
 }
 ```
 The easiest way to run **Router Example with Pool of Routees** example 
yourself is to try the
-@scala[@extref[Pekko Cluster Sample with 
Scala](samples:pekko-samples-cluster-scala)]@java[@extref[Pekko Cluster Sample 
with Java](samples:pekko-samples-cluster-java)].
+@scala[@extref[Pekko Cluster Sample with 
Scala](samples:pekko-sample-cluster-scala)]@java[@extref[Pekko Cluster Sample 
with Java](samples:pekko-sample-cluster-java)].
 It contains instructions on how to run the **Router Example with Pool of 
Routees** sample.
diff --git a/docs/src/main/paradox/multi-jvm-testing.md 
b/docs/src/main/paradox/multi-jvm-testing.md
index b6f82d79cb..90a5b8c969 100644
--- a/docs/src/main/paradox/multi-jvm-testing.md
+++ b/docs/src/main/paradox/multi-jvm-testing.md
@@ -214,7 +214,7 @@ described in that section.
 
 ## Example project
 
-@extref[Cluster example project](samples:pekko-samples-cluster-scala)
+@extref[Cluster example project](samples:pekko-sample-cluster-scala)
 is an example project that can be downloaded, and with instructions of how to 
run.
 
 This project illustrates Cluster features and also includes Multi JVM Testing 
with the `sbt-multi-jvm` plugin.
diff --git a/docs/src/main/paradox/project/examples.md 
b/docs/src/main/paradox/project/examples.md
index abee031818..d94fe1c5db 100644
--- a/docs/src/main/paradox/project/examples.md
+++ b/docs/src/main/paradox/project/examples.md
@@ -13,15 +13,15 @@ messages as well as how to use the test module and logging.
 
 ## FSM
 
-@java[@extref[FSM example project](samples:pekko-samples-fsm-java)]
-@scala[@extref[FSM example project](samples:pekko-samples-fsm-scala)]
+@java[@extref[FSM example project](samples:pekko-sample-fsm-java)]
+@scala[@extref[FSM example project](samples:pekko-sample-fsm-scala)]
 
 This project contains a Dining Hakkers sample illustrating how to model a 
Finite State Machine (FSM) with actors.
 
 ## Cluster
 
-@java[@extref[Cluster example project](samples:pekko-samples-cluster-java)]
-@scala[@extref[Cluster example project](samples:pekko-samples-cluster-scala)]
+@java[@extref[Cluster example project](samples:pekko-sample-cluster-java)]
+@scala[@extref[Cluster example project](samples:pekko-sample-cluster-scala)]
 
 This project contains samples illustrating different Cluster features, such as
 subscribing to cluster membership events, and sending messages to actors 
running on nodes in the cluster
@@ -31,55 +31,55 @@ It also includes Multi JVM Testing with the `sbt-multi-jvm` 
plugin.
 
 ## Distributed Data
 
-@java[@extref[Distributed Data example 
project](samples:pekko-samples-distributed-data-java)]
-@scala[@extref[Distributed Data example 
project](samples:pekko-samples-distributed-data-scala)]
+@java[@extref[Distributed Data example 
project](samples:pekko-sample-distributed-data-java)]
+@scala[@extref[Distributed Data example 
project](samples:pekko-sample-distributed-data-scala)]
 
 This project contains several samples illustrating how to use Distributed Data.
 
 ## Cluster Sharding
 
-@java[@extref[Sharding example 
project](samples:pekko-samples-cluster-sharding-java)]
-@scala[@extref[Sharding example 
project](samples:pekko-samples-cluster-sharding-scala)]
+@java[@extref[Sharding example 
project](samples:pekko-sample-cluster-sharding-java)]
+@scala[@extref[Sharding example 
project](samples:pekko-sample-cluster-sharding-scala)]
 
 This project contains a KillrWeather sample illustrating how to use Cluster 
Sharding.
 
 ## Persistence
 
-@java[@extref[Persistence example 
project](samples:pekko-samples-persistence-java)]
-@scala[@extref[Persistence example 
project](samples:pekko-samples-persistence-scala)]
+@java[@extref[Persistence example 
project](samples:pekko-sample-persistence-java)]
+@scala[@extref[Persistence example 
project](samples:pekko-sample-persistence-scala)]
 
 This project contains a Shopping Cart sample illustrating how to use Pekko 
Persistence.
 
 ## Replicated Event Sourcing
 
-@java[@extref[Multi-DC Persistence example 
project](samples:pekko-samples-persistence-dc-java)]
-@scala[@extref[Multi-DC Persistence example 
project](samples:pekko-samples-persistence-dc-scala)]
+@java[[Multi-DC Persistence example 
project](https://github.com/apache/incubator-pekko-samples/tree/main/pekko-sample-persistence-dc-java)]
+@scala[[Multi-DC Persistence example 
project](https://github.com/apache/incubator-pekko-samples/tree/main/pekko-sample-persistence-dc-scala)]
 
 Illustrates how to use @ref:[Replicated Event 
Sourcing](../typed/replicated-eventsourcing.md) that supports
 active-active persistent entities across data centers.
 
 ## Cluster with Docker
 
-@java[@extref[Cluster with docker-compose example 
project](samples:pekko-sample-cluster-docker-compose-java)]
-@scala[@extref[Cluster with docker-compose example 
project](samples:pekko-sample-cluster-docker-compose-scala)]
+@java[@extref[Cluster with docker-compose example 
project](akka-samples:akka-sample-cluster-docker-compose-java)]
+@scala[@extref[Cluster with docker-compose example 
project](akka-samples:akka-sample-cluster-docker-compose-scala)]
 
 Illustrates how to use Pekko Cluster with Docker compose.
 
 ## Cluster with Kubernetes
 
-@extref[Cluster with Kubernetes example 
project](samples:pekko-sample-cluster-kubernetes-java)
+@extref[Cluster with Kubernetes example 
project](akka-samples:akka-sample-cluster-kubernetes-java)
 
 This sample illustrates how to form a Pekko Cluster with Pekko Bootstrap when 
running in Kubernetes.
 
 ## Distributed workers
 
-@extref[Distributed workers example 
project](samples:pekko-samples-distributed-workers-scala)
+@extref[Distributed workers example 
project](samples:pekko-sample-distributed-workers-scala)
 
 This project demonstrates the work pulling pattern using Pekko Cluster.
 
 ## Kafka to Cluster Sharding 
 
-@extref[Kafka to Cluster Sharding example 
project](samples:pekko-samples-kafka-to-sharding)
+@extref[Kafka to Cluster Sharding example 
project](samples:pekko-sample-kafka-to-sharding)
 
 This project demonstrates how to use the External Shard Allocation strategy to 
co-locate the consumption of Kafka
 partitions with the shard that processes the messages.
diff --git a/docs/src/main/paradox/typed/cluster-sharding.md 
b/docs/src/main/paradox/typed/cluster-sharding.md
index 4b9fe75938..44523cc0f8 100644
--- a/docs/src/main/paradox/typed/cluster-sharding.md
+++ b/docs/src/main/paradox/typed/cluster-sharding.md
@@ -232,7 +232,7 @@ support a greater number of shards.
 
 #### Example project for external allocation strategy
 
-@extref[Kafka to Cluster Sharding](samples:pekko-samples-kafka-to-sharding)
+@extref[Kafka to Cluster Sharding](samples:pekko-sample-kafka-to-sharding)
 is an example project that can be downloaded, and with instructions of how to 
run, that demonstrates how to use
 external sharding to co-locate Kafka partition consumption with shards.
 
@@ -829,8 +829,8 @@ as described in @ref:[Shard allocation](#shard-allocation).
 
 ## Example project
 
-@java[@extref[Sharding example 
project](samples:pekko-samples-cluster-sharding-java)]
-@scala[@extref[Sharding example 
project](samples:pekko-samples-cluster-sharding-scala)]
+@java[@extref[Sharding example 
project](samples:pekko-sample-cluster-sharding-java)]
+@scala[@extref[Sharding example 
project](samples:pekko-sample-cluster-sharding-scala)]
 is an example project that can be downloaded, and with instructions of how to 
run.
 
 This project contains a KillrWeather sample illustrating how to use Cluster 
Sharding.
diff --git a/docs/src/main/paradox/typed/cluster.md 
b/docs/src/main/paradox/typed/cluster.md
index 7443f02d5b..5ed5f80bb3 100644
--- a/docs/src/main/paradox/typed/cluster.md
+++ b/docs/src/main/paradox/typed/cluster.md
@@ -455,8 +455,8 @@ See @ref:[Reliable Delivery](reliable-delivery.md)
 
 ## Example project
 
-@java[@extref[Cluster example project](samples:pekko-samples-cluster-java)]
-@scala[@extref[Cluster example project](samples:pekko-samples-cluster-scala)]
+@java[@extref[Cluster example project](samples:pekko-sample-cluster-java)]
+@scala[@extref[Cluster example project](samples:pekko-sample-cluster-scala)]
 is an example project that can be downloaded, and with instructions of how to 
run.
 
 This project contains samples illustrating different Cluster features, such as
diff --git a/docs/src/main/paradox/typed/distributed-data.md 
b/docs/src/main/paradox/typed/distributed-data.md
index cfd9db42a6..20a66d2682 100644
--- a/docs/src/main/paradox/typed/distributed-data.md
+++ b/docs/src/main/paradox/typed/distributed-data.md
@@ -779,8 +779,8 @@ The `DistributedData` extension can be configured with the 
following properties:
 
 ## Example project
 
-@java[@extref[Distributed Data example 
project](samples:pekko-samples-distributed-data-java)]
-@scala[@extref[Distributed Data example 
project](samples:pekko-samples-distributed-data-scala)]
+@java[@extref[Distributed Data example 
project](samples:pekko-sample-distributed-data-java)]
+@scala[@extref[Distributed Data example 
project](samples:pekko-sample-distributed-data-scala)]
 is an example project that can be downloaded, and with instructions of how to 
run.
 
 This project contains several samples illustrating how to use Distributed Data.
diff --git a/docs/src/main/paradox/typed/fsm.md 
b/docs/src/main/paradox/typed/fsm.md
index 0a34ea8f29..1e951f7361 100644
--- a/docs/src/main/paradox/typed/fsm.md
+++ b/docs/src/main/paradox/typed/fsm.md
@@ -59,8 +59,8 @@ To set state timeouts use `Behaviors.withTimers` along with a 
`startSingleTimer`
 
 ## Example project
 
-@java[@extref[FSM example project](samples:pekko-samples-fsm-java)]
-@scala[@extref[FSM example project](samples:pekko-samples-fsm-scala)]
+@java[@extref[FSM example project](samples:pekko-sample-fsm-java)]
+@scala[@extref[FSM example project](samples:pekko-sample-fsm-scala)]
 is an example project that can be downloaded, and with instructions of how to 
run.
 
 This project contains a Dining Hakkers sample illustrating how to model a 
Finite State Machine (FSM) with actors.
diff --git a/docs/src/main/paradox/typed/persistence.md 
b/docs/src/main/paradox/typed/persistence.md
index b06d877410..a3afe529eb 100644
--- a/docs/src/main/paradox/typed/persistence.md
+++ b/docs/src/main/paradox/typed/persistence.md
@@ -674,12 +674,12 @@ reference documentation of the chosen plugin.
 
 ## Example project
 
-@java[@extref[Persistence example 
project](samples:pekko-samples-persistence-java)]
-@scala[@extref[Persistence example 
project](samples:pekko-samples-persistence-scala)]
+@java[@extref[Persistence example 
project](samples:pekko-sample-persistence-java)]
+@scala[@extref[Persistence example 
project](samples:pekko-sample-persistence-scala)]
 is an example project that can be downloaded, and with instructions of how to 
run.
 This project contains a Shopping Cart sample illustrating how to use Pekko 
Persistence.
 
-@java[@extref[Multi-DC Persistence example 
project](samples:pekko-samples-persistence-dc-java)]
-@scala[@extref[Multi-DC Persistence example 
project](samples:pekko-samples-persistence-dc-scala)]
+@java[[Multi-DC Persistence example 
project](https://github.com/apache/incubator-pekko-samples/tree/main/pekko-sample-persistence-dc-java)]
+@scala[[Multi-DC Persistence example 
project](https://github.com/apache/incubator-pekko-samples/tree/main/pekko-sample-persistence-dc-scala)]
 illustrates how to use @ref:[Replicated Event 
Sourcing](replicated-eventsourcing.md) that supports
 active-active persistent entities across data centers.
diff --git a/project/Paradox.scala b/project/Paradox.scala
index 82e99ef48f..a99d91e6b9 100644
--- a/project/Paradox.scala
+++ b/project/Paradox.scala
@@ -35,8 +35,8 @@ object Paradox {
       "extref.platform-guide.base_url" -> 
"https://developer.lightbend.com/docs/akka-platform-guide/%s";,
       "extref.wikipedia.base_url" -> "https://en.wikipedia.org/wiki/%s";,
       "extref.github.base_url" -> (GitHub.url(version.value) + "/%s"), // for 
links to our sources
-      "extref.samples.base_url" -> 
"https://developer.lightbend.com/start/?group=akka&amp;project=%s";,
-      "extref.ecs.base_url" -> "https://example.lightbend.com/v1/download/%s";,
+      "extref.samples.base_url" -> 
s"$pekkoBaseURL/docs/pekko-samples/current/%s",
+      "extref.akka-samples.base_url" -> 
"https://developer.lightbend.com/start/?group=akka&amp;project=%s";,
       "pekko.doc.dns" -> s"$pekkoBaseURL",
       "scaladoc.pekko.base_url" -> 
s"$pekkoBaseURL/api/pekko/current/org/apache",
       "scaladoc.pekko.http.base_url" -> 
s"$pekkoBaseURL/api/pekko-http/current/org/apache",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to