From 7143e635dac2a8fcf60812765e220dcf7ca5785e Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:48:03 +0200 Subject: [PATCH] Use link validator results --- docs/src/main/paradox/quickstart-scala/index.md | 2 +- docs/src/main/paradox/routing-dsl/testkit.md | 2 +- scripts/link-validator.conf | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/src/main/paradox/quickstart-scala/index.md b/docs/src/main/paradox/quickstart-scala/index.md index 890862b482..d634455211 100644 --- a/docs/src/main/paradox/quickstart-scala/index.md +++ b/docs/src/main/paradox/quickstart-scala/index.md @@ -31,7 +31,7 @@ The Akka HTTP example for Scala is a zipped project that includes a sbt build fi * On Linux and MacOS systems, open a terminal and use the command `unzip` akka-quickstart-scala.zip. * On Windows, use a tool such as File Explorer to extract the project. -Alternatively, you can bootstrap a new project with Akka HTTP already configured using the [Giter8](http://www.foundweekends.org/giter8/) template directly via sbt: +Alternatively, you can bootstrap a new project with Akka HTTP already configured using the [Giter8](https://www.foundweekends.org/giter8/) template directly via sbt: ```sh sbt new akka/akka-http-quickstart-scala.g8 diff --git a/docs/src/main/paradox/routing-dsl/testkit.md b/docs/src/main/paradox/routing-dsl/testkit.md index 481fdfa6bf..34eec56b39 100644 --- a/docs/src/main/paradox/routing-dsl/testkit.md +++ b/docs/src/main/paradox/routing-dsl/testkit.md @@ -31,7 +31,7 @@ To use Akka HTTP TestKit, add the module to your project: @@@ div { .group-scala } Here is an example of what a simple test with the routing testkit might look like using the built-in support for -[scalatest](http://www.scalatest.org) and [specs2](http://etorreborre.github.io/specs2/): +[scalatest](https://www.scalatest.org) and [specs2](https://etorreborre.github.io/specs2/): ScalaTest : @@snip [FullTestKitExampleSpec.scala](/docs/src/test/scala/docs/http/scaladsl/server/FullTestKitExampleSpec.scala) { #source-quote } diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf index ed245d6dcf..f49d595c2e 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -19,15 +19,19 @@ site-link-validator { ignore-missing-local-files-regex = "" ignore-prefixes = [ - "https://repo.akka.io/maven", + "https://repo.akka.io/maven" + "https://repo.akka.io/snapshots" # GitHub will block with "429 Too Many Requests" "https://github.com/" # MVN repository forbids access after a few requests "https://mvnrepository.com/artifact/" + "http://localhost:" + "https://example.com/" ] ignore-files = [] non-https-whitelist = [ + "http://restclient.net/" ] }