From 3d5eb4b563bd53b5e76dc5b816b954d315ea1c81 Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Wed, 18 Jan 2023 14:49:44 +0100 Subject: [PATCH] Update links in reference documentation. Remove outdated links an make sure to use the springDocsUrl attribute provided via spring-projects/spring-data-build#1895 to resolve links to framework documentation. Closes: #2490 --- src/main/asciidoc/index.adoc | 2 +- src/main/asciidoc/preface.adoc | 1 - src/main/asciidoc/reference/redis.adoc | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc index 2ca2793ce..e7f4d207f 100644 --- a/src/main/asciidoc/index.adoc +++ b/src/main/asciidoc/index.adoc @@ -5,7 +5,7 @@ Costin Leau, Jennifer Hickey, Christoph Strobl, Thomas Darimont, Mark Paluch, Ja ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1600]] :spring-data-commons-docs: ../../../../spring-data-commons/src/main/asciidoc :spring-framework-javadoc: https://docs.spring.io/spring-framework/docs/{springVersion}/javadoc-api -:spring-framework-reference: https://docs.spring.io/spring-framework/docs/{springVersion}/reference/html +:spring-framework-reference: link:{springDocsUrl} :store: Redis (C) 2011-2023 The original authors. diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc index 422341f79..1ce60b318 100644 --- a/src/main/asciidoc/preface.adoc +++ b/src/main/asciidoc/preface.adoc @@ -46,7 +46,6 @@ It usually does not take more then five to ten minutes to go through them and, i One can find various samples for key-value stores in the dedicated Spring Data example repo, at https://github.com/spring-projects/spring-data-keyvalue-examples[https://github.com/spring-projects/spring-data-keyvalue-examples]. For Spring Data Redis, you should pay particular attention to the `retwisj` sample, a Twitter-clone built on top of Redis that can be run locally or be deployed into the cloud. -See its https://docs.spring.io/spring-data/data-keyvalue/examples/retwisj/current/[documentation], the following blog https://spring.io/blog/2011/04/27/getting-started-redis-spring-cloud-foundry/[entry] for more information. [[requirements]] == Requirements diff --git a/src/main/asciidoc/reference/redis.adoc b/src/main/asciidoc/reference/redis.adoc index b7805c7b3..ca87bfc3a 100644 --- a/src/main/asciidoc/reference/redis.adoc +++ b/src/main/asciidoc/reference/redis.adoc @@ -12,7 +12,7 @@ Spring Data Redis provides easy configuration and access to Redis from Spring ap [[redis:setup]] == Getting Started -An easy way to setting up a working environment is to create a Spring-based project in https://spring.io/tools/sts[STS]. +An easy way to setting up a working environment is to create a Spring-based project in https://spring.io/tools/[STS]. First, you need to set up a running Redis server.