From bf5eb70ba3f0edb6cacf4715a1176e7a9df14c5f Mon Sep 17 00:00:00 2001 From: Adi Gerber <16128031+adigerber@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:41:16 +0300 Subject: [PATCH] docs: replace magnet pattern URLs with correct one (#4415) --- .../routing-dsl/directives/debugging-directives/logRequest.md | 2 +- .../directives/debugging-directives/logRequestResult.md | 2 +- .../routing-dsl/directives/debugging-directives/logResult.md | 2 +- .../routing-dsl/directives/form-field-directives/formFields.md | 2 +- .../routing-dsl/directives/future-directives/onSuccess.md | 2 +- .../directives/header-directives/headerValueByType.md | 2 +- .../directives/header-directives/optionalHeaderValueByType.md | 2 +- .../routing-dsl/directives/parameter-directives/parameters.md | 2 +- .../routing-dsl/directives/range-directives/withRangeSupport.md | 2 +- .../paradox/routing-dsl/directives/route-directives/complete.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequest.md b/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequest.md index bc84f944893..04eb5c151b0 100644 --- a/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequest.md +++ b/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequest.md @@ -14,7 +14,7 @@ def logRequest(magnet: LoggingMagnet[HttpRequest => Unit]): Directive0 The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequestResult.md b/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequestResult.md index 745f698a121..5ed66d4dc66 100644 --- a/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequestResult.md +++ b/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logRequestResult.md @@ -12,7 +12,7 @@ def logRequestResult(show: HttpRequest => RouteResult => Option[LogEntry])(impli The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logResult.md b/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logResult.md index bb49ec8c284..2b2a076a304 100644 --- a/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logResult.md +++ b/docs/src/main/paradox/routing-dsl/directives/debugging-directives/logResult.md @@ -14,7 +14,7 @@ def logResult(magnet: LoggingMagnet[RouteResult => Unit]): Directive0 The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/form-field-directives/formFields.md b/docs/src/main/paradox/routing-dsl/directives/form-field-directives/formFields.md index 9b38e253f66..952f2c4ef25 100644 --- a/docs/src/main/paradox/routing-dsl/directives/form-field-directives/formFields.md +++ b/docs/src/main/paradox/routing-dsl/directives/form-field-directives/formFields.md @@ -18,7 +18,7 @@ def formFields(fields: :: ... ... :: HNil): Dire The signature shown is simplified and written in pseudo-syntax, the real signature uses magnets. [1] The type `` doesn't really exist but consists of the syntactic variants as shown in the description and the examples. -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. ## Description diff --git a/docs/src/main/paradox/routing-dsl/directives/future-directives/onSuccess.md b/docs/src/main/paradox/routing-dsl/directives/future-directives/onSuccess.md index 306c0026a92..05b419bc9ee 100644 --- a/docs/src/main/paradox/routing-dsl/directives/future-directives/onSuccess.md +++ b/docs/src/main/paradox/routing-dsl/directives/future-directives/onSuccess.md @@ -12,7 +12,7 @@ def onSuccess(hlistFuture: Future[T_0 :: ... T_i ... :: HNil]): Directive[T_0 :: The signature shown is simplified and written in pseudo-syntax, the real signature uses magnets. [1]. -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/header-directives/headerValueByType.md b/docs/src/main/paradox/routing-dsl/directives/header-directives/headerValueByType.md index fbbe883da96..1a91f536885 100644 --- a/docs/src/main/paradox/routing-dsl/directives/header-directives/headerValueByType.md +++ b/docs/src/main/paradox/routing-dsl/directives/header-directives/headerValueByType.md @@ -9,7 +9,7 @@ def headerValueByType[T <: HttpHeader: ClassTag](): Directive1[T] The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/header-directives/optionalHeaderValueByType.md b/docs/src/main/paradox/routing-dsl/directives/header-directives/optionalHeaderValueByType.md index e86b7ce37b9..78a9c744523 100644 --- a/docs/src/main/paradox/routing-dsl/directives/header-directives/optionalHeaderValueByType.md +++ b/docs/src/main/paradox/routing-dsl/directives/header-directives/optionalHeaderValueByType.md @@ -9,7 +9,7 @@ def optionalHeaderValueByType[T <: HttpHeader: ClassTag](): Directive1[Option[T] The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/parameter-directives/parameters.md b/docs/src/main/paradox/routing-dsl/directives/parameter-directives/parameters.md index d6dfee23b36..31094e06f6f 100644 --- a/docs/src/main/paradox/routing-dsl/directives/parameter-directives/parameters.md +++ b/docs/src/main/paradox/routing-dsl/directives/parameter-directives/parameters.md @@ -15,7 +15,7 @@ def parameters(params: :: ... ... :: HNil): Dire The signature shown is simplified and written in pseudo-syntax, the real signature uses magnets. [1] The type `` doesn't really exist but consists of the syntactic variants as shown in the description and the examples. -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/range-directives/withRangeSupport.md b/docs/src/main/paradox/routing-dsl/directives/range-directives/withRangeSupport.md index 069c2982bec..579148e0dd6 100644 --- a/docs/src/main/paradox/routing-dsl/directives/range-directives/withRangeSupport.md +++ b/docs/src/main/paradox/routing-dsl/directives/range-directives/withRangeSupport.md @@ -10,7 +10,7 @@ def withRangeSupport(rangeCountLimit: Int, rangeCoalescingThreshold:Long): Direc The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@ diff --git a/docs/src/main/paradox/routing-dsl/directives/route-directives/complete.md b/docs/src/main/paradox/routing-dsl/directives/route-directives/complete.md index 76d3123f839..a1d50c173ee 100644 --- a/docs/src/main/paradox/routing-dsl/directives/route-directives/complete.md +++ b/docs/src/main/paradox/routing-dsl/directives/route-directives/complete.md @@ -15,7 +15,7 @@ def complete[T :Marshaller](status: Int, headers: Seq[HttpHeader], value: T): St The signature shown is simplified, the real signature uses magnets. [1] -> [1] See [The Magnet Pattern](http://spray.io/blog/2012-12-13-the-magnet-pattern/) for an explanation of magnet-based overloading. +> [1] See [The Magnet Pattern](https://spray.readthedocs.io/en/latest/blog/2012-12-13-the-magnet-pattern.html) for an explanation of magnet-based overloading. @@@