Skip to content

Commit

Permalink
Enable Section Summary TOC for small pages
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Sep 13, 2023
1 parent b78b2e5 commit d5913b0
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/appendix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/spring-cloud-consul.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[spring-cloud-consul]]
= Spring Cloud Consul
:page-section-summary-toc: 1

*{spring-cloud-version}*

Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/spring-cloud-consul/agent.adoc
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/spring-cloud-consul/bus.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[spring-cloud-consul-bus]]
= Spring Cloud Bus with Consul
:page-section-summary-toc: 1

[[how-to-activate]]
== How to activate
Expand Down
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions docs/modules/ROOT/pages/spring-cloud-consul/hystrix.adoc
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/spring-cloud-consul/install.adoc
Original file line number Diff line number Diff line change
@@ -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.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[quick-start]]
= Quick Start
:page-section-summary-toc: 1

include:../:quickstart.adoc[]

1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/spring-cloud-consul/retry.adoc
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d5913b0

Please sign in to comment.