From 7570d30eef7b697ac30110e796b427629f17ec2a Mon Sep 17 00:00:00 2001 From: spencergibb Date: Wed, 13 Sep 2023 18:34:16 -0400 Subject: [PATCH] Fix cross references --- docs/modules/ROOT/pages/quickstart.adoc | 6 +++--- .../ROOT/pages/spring-cloud-zookeeper/config.adoc | 2 +- .../pages/spring-cloud-zookeeper/dependencies.adoc | 12 ++++++------ .../ROOT/pages/spring-cloud-zookeeper/discovery.adoc | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/modules/ROOT/pages/quickstart.adoc b/docs/modules/ROOT/pages/quickstart.adoc index 51fc24ef..0ae4f4c9 100644 --- a/docs/modules/ROOT/pages/quickstart.adoc +++ b/docs/modules/ROOT/pages/quickstart.adoc @@ -81,7 +81,7 @@ dependencyManagement { ---- WARNING: Depending on the version you are using, you might need to adjust Apache Zookeeper version used in your project. -You can read more about it in the <>. +You can read more about it in the xref:spring-cloud-zookeeper/install.adoc[Install Zookeeper section]. Now you can create a standard Spring Boot application, such as the following HTTP server: @@ -207,7 +207,7 @@ dependencyManagement { ---- WARNING: Depending on the version you are using, you might need to adjust Apache Zookeeper version used in your project. -You can read more about it in the <>. +You can read more about it in the xref:spring-cloud-zookeeper/install.adoc[Install Zookeeper section]. Now you can create a standard Spring Boot application, such as the following HTTP server: @@ -231,4 +231,4 @@ public class Application { The application retrieves configuration data from Zookeeper. WARNING: If you use Spring Cloud Zookeeper Config, you need to set the `spring.config.import` property in order to bind to Zookeeper. -You can read more about it in the <>. +You can read more about it in the xref:spring-cloud-zookeeper/config.adoc#config-data-import[Spring Boot Config Data Import section]. diff --git a/docs/modules/ROOT/pages/spring-cloud-zookeeper/config.adoc b/docs/modules/ROOT/pages/spring-cloud-zookeeper/config.adoc index 3cb03c26..a4f5b4a4 100644 --- a/docs/modules/ROOT/pages/spring-cloud-zookeeper/config.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-zookeeper/config.adoc @@ -35,7 +35,7 @@ Including a dependency on autoconfiguration that sets up Spring Cloud Zookeeper Config. CAUTION: When working with version 3.4 of Zookeeper you need to change -the way you include the dependency as described <>. +the way you include the dependency as described xref:spring-cloud-zookeeper/install.adoc[here]. [[config-data-import]] == Spring Boot Config Data Import diff --git a/docs/modules/ROOT/pages/spring-cloud-zookeeper/dependencies.adoc b/docs/modules/ROOT/pages/spring-cloud-zookeeper/dependencies.adoc index 37a626c9..9c6606b6 100644 --- a/docs/modules/ROOT/pages/spring-cloud-zookeeper/dependencies.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-zookeeper/dependencies.adoc @@ -3,10 +3,10 @@ The following topics cover how to work with Spring Cloud Zookeeper dependencies: -* <> -* <> -* <> -* <> +* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-using[Using the Zookeeper Dependencies] +* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-activating[Activating Zookeeper Dependencies] +* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-setting-up[Setting up Zookeeper Dependencies] +* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-configuring[Configuring Spring Cloud Zookeeper Dependencies] [[spring-cloud-zookeeper-dependencies-using]] == Using the Zookeeper Dependencies @@ -92,7 +92,7 @@ public interface NewsletterService { The path is represented by the `path` YAML property and is the path under which the dependency is registered under Zookeeper. As described in the -<>, Spring Cloud LoadBalancer operates on URLs. +xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-setting-up-aliases[previous section], Spring Cloud LoadBalancer operates on URLs. As a result, this path is not compliant with its requirement. That is why Spring Cloud Zookeeper maps the alias to the proper path. @@ -172,7 +172,7 @@ exception, and the Spring Context fails to set up. In other words, your applicat start if the required dependency is not registered in Zookeeper. You can read more about Spring Cloud Zookeeper Presence Checker -<>. +xref:spring-cloud-zookeeper/dependency-watcher.adoc#spring-cloud-zookeeper-dependency-watcher-presence-checker[later in this document]. [[stubs]] === Stubs diff --git a/docs/modules/ROOT/pages/spring-cloud-zookeeper/discovery.adoc b/docs/modules/ROOT/pages/spring-cloud-zookeeper/discovery.adoc index b10ed7eb..47d3a51b 100644 --- a/docs/modules/ROOT/pages/spring-cloud-zookeeper/discovery.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-zookeeper/discovery.adoc @@ -19,7 +19,7 @@ NOTE: For web functionality, you still need to include `org.springframework.boot:spring-boot-starter-web`. CAUTION: When working with version 3.4 of Zookeeper you need to change -the way you include the dependency as described <>. +the way you include the dependency as described xref:spring-cloud-zookeeper/install.adoc[here]. [[registering-with-zookeeper]] == Registering with Zookeeper @@ -61,7 +61,7 @@ spring: connect-string: localhost:2181 ---- -CAUTION: If you use <>, the +CAUTION: If you use xref:spring-cloud-zookeeper/config.adoc[Spring Cloud Zookeeper Config], the values shown in the preceding example need to be in `bootstrap.yml` instead of `application.yml`.