From b78b2e5e3dec9a978ad40c6fdb1ec3715a5c15fa Mon Sep 17 00:00:00 2001 From: spencergibb Date: Wed, 13 Sep 2023 16:12:33 -0400 Subject: [PATCH] Fix cross references --- docs/modules/ROOT/pages/quickstart.adoc | 2 +- docs/modules/ROOT/pages/spring-cloud-consul/config.adoc | 2 +- docs/modules/ROOT/pages/spring-cloud-consul/discovery.adoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/pages/quickstart.adoc b/docs/modules/ROOT/pages/quickstart.adoc index d7a0b779..3cee3161 100644 --- a/docs/modules/ROOT/pages/quickstart.adoc +++ b/docs/modules/ROOT/pages/quickstart.adoc @@ -226,4 +226,4 @@ public class Application { The application retrieves configuration data from Consul. WARNING: If you use Spring Cloud Consul Config, you need to set the `spring.config.import` property in order to bind to Consul. -You can read more about it in the <>. +You can read more about it in the xref:spring-cloud-consul/config.adoc#config-data-import[Spring Boot Config Data Import section]. diff --git a/docs/modules/ROOT/pages/spring-cloud-consul/config.adoc b/docs/modules/ROOT/pages/spring-cloud-consul/config.adoc index 9bf25e1e..c8774023 100644 --- a/docs/modules/ROOT/pages/spring-cloud-consul/config.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-consul/config.adoc @@ -12,7 +12,7 @@ config/application/ The most specific property source is at the top, with the least specific at the bottom. Properties in the `config/application` folder are applicable to all applications using consul for configuration. Properties in the `config/testApp` folder are only available to the instances of the service named "testApp". -Configuration is currently read on startup of the application. Sending a HTTP POST to `/refresh` will cause the configuration to be reloaded. <> will also automatically detect changes and reload the application context. +Configuration is currently read on startup of the application. Sending a HTTP POST to `/refresh` will cause the configuration to be reloaded. xref:spring-cloud-consul/config.adoc#spring-cloud-consul-config-watch[Config Watch] will also automatically detect changes and reload the application context. [[how-to-activate]] == How to activate diff --git a/docs/modules/ROOT/pages/spring-cloud-consul/discovery.adoc b/docs/modules/ROOT/pages/spring-cloud-consul/discovery.adoc index 15372c0f..38558ebe 100644 --- a/docs/modules/ROOT/pages/spring-cloud-consul/discovery.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-consul/discovery.adoc @@ -44,7 +44,7 @@ spring: port: 8500 ---- -CAUTION: If you use <>, and you have set `spring.cloud.bootstrap.enabled=true` or `spring.config.use-legacy-processing=true` or use `spring-cloud-starter-bootstrap`, then the above values will need to be placed in `bootstrap.yml` instead of `application.yml`. +CAUTION: If you use xref:spring-cloud-consul/config.adoc[Spring Cloud Consul Config], and you have set `spring.cloud.bootstrap.enabled=true` or `spring.config.use-legacy-processing=true` or use `spring-cloud-starter-bootstrap`, then the above values will need to be placed in `bootstrap.yml` instead of `application.yml`. The default service name, instance id and port, taken from the `Environment`, are `${spring.application.name}`, the Spring Context ID and `${server.port}` respectively.