Skip to content

Commit 2e4d529

Browse files
committed
Enable Section Summary TOC for small pages
1 parent 7c5f582 commit 2e4d529

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

docs/modules/ROOT/pages/appendix.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[appendix]
33
[[common-application-properties]]
44
= Common application properties
5+
:page-section-summary-toc: 1
56

67

78
Various properties can be specified inside your `application.properties` file, inside your `application.yml` file, or as command line switches.

docs/modules/ROOT/pages/discovery-kubernetes-native.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[kubernetes-native-service-discovery]]
22
= Kubernetes native service discovery
3+
:page-section-summary-toc: 1
34

45
Kubernetes itself is capable of (server side) service discovery (see: https://kubernetes.io/docs/concepts/services-networking/service/#discovering-services).
56
Using native kubernetes service discovery ensures compatibility with additional tooling, such as Istio (https://istio.io), a service mesh that is capable of load balancing, circuit breaker, failover, and much more.

docs/modules/ROOT/pages/examples.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[examples]]
22
= Examples
3+
:page-section-summary-toc: 1
34

45
Spring Cloud Kubernetes tries to make it transparent for your applications to consume Kubernetes Native Services by
56
following the Spring Cloud interfaces.

docs/modules/ROOT/pages/info-contributor.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[info-contributor]]
22
= Info Contributor
3+
:page-section-summary-toc: 1
34

45
Spring Cloud Kubernetes includes an `InfoContributor` which adds Pod information to
56
Spring Boot's `/info` Acturator endpoint.

docs/modules/ROOT/pages/other-resources.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[other-resources]]
22
= Other Resources
3+
:page-section-summary-toc: 1
34

45
This section lists other resources, such as presentations (slides) and videos about Spring Cloud Kubernetes.
56

docs/modules/ROOT/pages/pod-health-indicator.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[pod-health-indicator]]
22
= Pod Health Indicator
3+
:page-section-summary-toc: 1
34

45
Spring Boot uses https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthEndpoint.java[`HealthIndicator`] to expose info about the health of an application.
56
That makes it really useful for exposing health-related information to the user and makes it a good fit for use as https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/[readiness probes].

docs/modules/ROOT/pages/property-source-config.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[kubernetes-propertysource-implementations]]
22
= Kubernetes PropertySource implementations
3+
:page-section-summary-toc: 1
34

45
The most common approach to configuring your Spring Boot application is to create an `application.properties` or `application.yaml` or
56
an `application-profile.properties` or `application-profile.yaml` file that contains key-value pairs that provide customization values to your
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[order_of_configMaps_and_secrets]]
22
= Order of ConfigMaps and Secrets
3+
:page-section-summary-toc: 1
34

45
If, for whatever reason, you enabled both configmaps and secrets, and there is a common property between them, the value from the ConfigMap will have a higher precedence. That is: it will override whatever values are found in secrets.
56

docs/modules/ROOT/pages/service-registry.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[service-registry-implementation]]
22
= Service Registry Implementation
3+
:page-section-summary-toc: 1
34

45
In Kubernetes service registration is controlled by the platform, the application itself does not control
56
registration as it may do in other platforms. For this reason using `spring.cloud.service-registry.auto-registration.enabled`

0 commit comments

Comments
 (0)