Enable Section Summary TOC for small pages
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
[appendix]
|
||||
[[common-application-properties]]
|
||||
= Common application properties
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
|
||||
Various properties can be specified inside your `application.properties` file, inside your `application.yml` file, or as command line switches.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[spring-cloud-consul]]
|
||||
= Spring Cloud Consul
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
*{spring-cloud-version}*
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[spring-cloud-consul-agent]]
|
||||
= Consul Agent
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
A Consul Agent client must be available to all Spring Cloud Consul applications. By default, the Agent client is expected to be at `localhost:8500`. See the https://consul.io/docs/agent/basics.html[Agent documentation] for specifics on how to start an Agent client and how to connect to a cluster of Consul Agent Servers. For development, after you have installed consul, you may start a Consul Agent using the following command:
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[spring-cloud-consul-bus]]
|
||||
= Spring Cloud Bus with Consul
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
[[how-to-activate]]
|
||||
== How to activate
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
[[configuration-properties]]
|
||||
= Configuration Properties
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
To see the list of all Consul related configuration properties please check link:appendix.html[the Appendix page].
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[spring-cloud-consul-hystrix]]
|
||||
= Circuit Breaker with Hystrix
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
Applications can use the Hystrix Circuit Breaker provided by the Spring Cloud Netflix project by including this starter in the projects pom.xml: `spring-cloud-starter-hystrix`. Hystrix doesn't depend on the Netflix Discovery Client. The `@EnableHystrix` annotation should be placed on a configuration class (usually the main class). Then methods can be annotated with `@HystrixCommand` to be protected by a circuit breaker. See https://projects.spring.io/spring-cloud/spring-cloud.html#_circuit_breaker_hystrix_clients[the documentation] for more details.
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[spring-cloud-consul-install]]
|
||||
= Install Consul
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
Please see the https://www.consul.io/intro/getting-started/install.html[installation documentation] for instructions on how to install Consul.
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[quick-start]]
|
||||
= Quick Start
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
include:../:quickstart.adoc[]
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[spring-cloud-consul-retry]]
|
||||
= Consul Retry
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
If you expect that the consul agent may occasionally be unavailable when
|
||||
your app starts, you can ask it to keep trying after a failure. You need to add
|
||||
|
||||
Reference in New Issue
Block a user