diff --git a/docs/src/main/paradox/introduction.md b/docs/src/main/paradox/introduction.md index 4f714a0b838..b04d7e21651 100644 --- a/docs/src/main/paradox/introduction.md +++ b/docs/src/main/paradox/introduction.md @@ -91,7 +91,10 @@ For example one route might start with matching the `path` of the request, only narrowing it down to only handle HTTP `get` requests and then `complete` those with a string literal, which will be sent back as a HTTP OK with the string as response body. -The @scala[@scaladoc[Route](akka.http.scaladsl.server.index#Route=akka.http.scaladsl.server.RequestContext=%3Escala.concurrent.Future[akka.http.scaladsl.server.RouteResult])]@java[@apidoc[Route]] created using the Route DSL is then "bound" to a port to start serving HTTP requests: +The +@scala[@scaladoc[Route](akka.http.scaladsl.server.index#Route=akka.http.scaladsl.server.RequestContext=%3Escala.concurrent.Future[akka.http.scaladsl.server.RouteResult])] +@java[@javadoc[Route](akka.http.scaladsl.server.Route)] +created using the Route DSL is then "bound" to a port to start serving HTTP requests: Scala : @@snip [HttpServerExampleSpec.scala]($test$/scala/docs/http/scaladsl/HttpServerExampleSpec.scala) { #minimal-routing-example } diff --git a/docs/src/main/paradox/release-notes/10.0.x.md b/docs/src/main/paradox/release-notes/10.0.x.md index 9e9dc4f0a69..b5543711c04 100644 --- a/docs/src/main/paradox/release-notes/10.0.x.md +++ b/docs/src/main/paradox/release-notes/10.0.x.md @@ -111,7 +111,7 @@ the explicitly passed-in materializer argument. * Allow disabling of parsing to modeled headers ([#1550](https://github.com/akka/akka-http/issues/1550)) * Convert RFC references in documents in model classes to scaladoc ([#1514](https://github.com/akka/akka-http/issues/1514)) * Allow configuration of default http and https ports ([#1449](https://github.com/akka/akka-http/issues/1449)) - * Remove unnecessary implicit `materializer` parameter in several top-level @scala[@apidoc[Http](HttpExt$)]@java[@apidoc[Http]] entry point APIs ([#1464](https://github.com/akka/akka-http/issues/1464)) + * Remove unnecessary implicit `materializer` parameter in several top-level @scala[@scaladoc[Http](akka.http.scaladsl.HttpExt)]@java[@javadoc[Http](akka.http.javadsl.Http)] entry point APIs ([#1464](https://github.com/akka/akka-http/issues/1464)) * Add `X-Forwarded-Proto` and `X-Forwarded-Host` header models ([#1377](https://github.com/akka/akka-http/issues/1377)) * Lookup predefined header parsers as early as possible ([#1424](https://github.com/akka/akka-http/issues/1424))