diff --git a/docs/modules/ROOT/pages/server/serving-binary-files.adoc b/docs/modules/ROOT/pages/server/serving-binary-files.adoc index 2580914a7..933984ace 100644 --- a/docs/modules/ROOT/pages/server/serving-binary-files.adoc +++ b/docs/modules/ROOT/pages/server/serving-binary-files.adoc @@ -64,10 +64,10 @@ server { To enable serving plain text for AWS s3, the Config Server application needs to include a dependency on `io.awspring.cloud:spring-cloud-aws-s3`. For details on how to set up that dependency, see the -https://docs.awspring.io/spring-cloud-aws/docs/4.0.0/reference/html/index.html#starter-dependencies[Spring Cloud AWS Reference Guide]. -In addition, when using Spring Cloud AWS with Spring Boot it is useful to include the https://docs.awspring.io/spring-cloud-aws/docs/4.0.0/reference/html/index.html#spring-cloud-aws-core[auto-configuration dependency]. +https://docs.awspring.io/spring-cloud-aws/docs/{spring-cloud-aws-version}/reference/html/index.html#starter-dependencies[Spring Cloud AWS Reference Guide]. +In addition, when using Spring Cloud AWS with Spring Boot it is useful to include the https://docs.awspring.io/spring-cloud-aws/docs/{spring-cloud-aws-version}/reference/html/index.html#spring-cloud-aws-core[auto-configuration dependency]. Then you need to configure Spring Cloud AWS, as described in the -https://docs.awspring.io/spring-cloud-aws/docs/4.0.0/reference/html/index.html#credentials[Spring Cloud AWS Reference Guide]. +https://docs.awspring.io/spring-cloud-aws/docs/{spring-cloud-aws-version}/reference/html/index.html#credentials[Spring Cloud AWS Reference Guide]. [[decrypting-plain-text]] == Decrypting Plain Text diff --git a/docs/src/main/antora/resources/antora-resources/antora.yml b/docs/src/main/antora/resources/antora-resources/antora.yml index 3ac63d4b6..265d6f396 100644 --- a/docs/src/main/antora/resources/antora-resources/antora.yml +++ b/docs/src/main/antora/resources/antora-resources/antora.yml @@ -19,3 +19,4 @@ asciidoc: project-version: @project.version@ project-name: @docs.main@ special-string: _ + spring-cloud-aws-version: @spring-cloud-aws.version@ diff --git a/docs/src/main/asciidoc/README.adoc b/docs/src/main/asciidoc/README.adoc index ac2dbdbf5..ca53d11f3 100644 --- a/docs/src/main/asciidoc/README.adoc +++ b/docs/src/main/asciidoc/README.adoc @@ -1,4 +1,4 @@ -image::https://codecov.io/gh/spring-cloud/spring-cloud-config/branch/master/graph/badge.svg["Codecov", link="https://codecov.io/gh/spring-cloud/spring-cloud-config/branch/master"] +image::https://codecov.io/gh/spring-cloud/spring-cloud-config/branch/main/graph/badge.svg["Codecov", link="https://codecov.io/gh/spring-cloud/spring-cloud-config/branch/main"] [[features]] @@ -35,7 +35,7 @@ Specifically for Spring applications, Spring Cloud Config Client lets you: [[sample-application]] == Sample Application -You can find a sample application https://github.com/spring-cloud/spring-cloud-config/tree/master/spring-cloud-config-sample[here]. +You can find a sample application https://github.com/spring-cloud/spring-cloud-config/tree/main/spring-cloud-config-sample[here]. It is a Spring Boot application, so you can run it by using the usual mechanisms (for instance, `mvn spring-boot:run`). When it runs, it looks for the config server on `http://localhost:8888` (a configurable default), so you can run the server as well to see it all working together.