diff --git a/docs/modules/ROOT/pages/README.adoc b/docs/modules/ROOT/pages/README.adoc index b47f99e0..e2150c49 100644 --- a/docs/modules/ROOT/pages/README.adoc +++ b/docs/modules/ROOT/pages/README.adoc @@ -1,11 +1,11 @@ include::intro.adoc[] [[building]] -== Building += Building include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/main/docs/src/main/asciidoc/building.adoc[] [[contributing]] -== Contributing += Contributing include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/main/docs/src/main/asciidoc/contributing.adoc[] diff --git a/docs/modules/ROOT/pages/_observability.adoc b/docs/modules/ROOT/pages/_observability.adoc index 01121b26..2b4083fa 100644 --- a/docs/modules/ROOT/pages/_observability.adoc +++ b/docs/modules/ROOT/pages/_observability.adoc @@ -1,7 +1,7 @@ :root-target: ../../../target/ [[observability]] -== Observability metadata += Observability metadata include::{root-target}_metrics.adoc[] diff --git a/docs/modules/ROOT/pages/appendix.adoc b/docs/modules/ROOT/pages/appendix.adoc index aa8ab264..5b5f5601 100644 --- a/docs/modules/ROOT/pages/appendix.adoc +++ b/docs/modules/ROOT/pages/appendix.adoc @@ -1,7 +1,7 @@ :numbered!: [appendix] [[common-application-properties]] -== Common application properties += Common application properties include::_attributes.adoc[] diff --git a/docs/modules/ROOT/pages/spring-cloud-circuitbreaker.adoc b/docs/modules/ROOT/pages/spring-cloud-circuitbreaker.adoc index ed945b7d..7b0cc3e6 100755 --- a/docs/modules/ROOT/pages/spring-cloud-circuitbreaker.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-circuitbreaker.adoc @@ -1,11 +1,11 @@ [[introduction]] -== Introduction += Introduction Spring Cloud Circuit breaker provides an abstraction across different circuit breaker implementations. It provides a consistent API to use in your applications, letting you, the developer, choose the circuit breaker implementation that best fits your needs for your application. [[supported-implementations]] -=== Supported Implementations +== Supported Implementations Spring Cloud supports the following circuit-breaker implementations: @@ -14,7 +14,7 @@ Spring Cloud supports the following circuit-breaker implementations: * https://github.com/spring-projects/spring-retry[Spring Retry] [[core-concepts]] -== Core Concepts += Core Concepts To create a circuit breaker in your code, you can use the `CircuitBreakerFactory` API. When you include a Spring Cloud Circuit Breaker starter on your classpath, a bean that implements this API is automatically created for you. The following example shows a simple example of how to use this API: @@ -48,7 +48,7 @@ The function is passed the `Throwable` that caused the fallback to be triggered. You can optionally exclude the fallback if you do not want to provide one. [[circuit-breakers-in-reactive-code]] -=== Circuit Breakers In Reactive Code +== Circuit Breakers In Reactive Code If Project Reactor is on the class path, you can also use `ReactiveCircuitBreakerFactory` for your reactive code. The following example shows how to do so: @@ -81,7 +81,7 @@ You can optionally profile a fallback `Function`, which will be called if the ci that caused the failure. [[configuration]] -== Configuration += Configuration You can configure your circuit breakers by creating beans of type `Customizer`. The `Customizer` interface has a single method (called `customize`) that takes the `Object` to customize.