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 19, 2023
1 parent 7c5f582 commit 2e4d529
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/discovery-kubernetes-native.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[kubernetes-native-service-discovery]]
= Kubernetes native service discovery
:page-section-summary-toc: 1

Kubernetes itself is capable of (server side) service discovery (see: https://kubernetes.io/docs/concepts/services-networking/service/#discovering-services).
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.
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/examples.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[examples]]
= Examples
:page-section-summary-toc: 1

Spring Cloud Kubernetes tries to make it transparent for your applications to consume Kubernetes Native Services by
following the Spring Cloud interfaces.
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/info-contributor.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[info-contributor]]
= Info Contributor
:page-section-summary-toc: 1

Spring Cloud Kubernetes includes an `InfoContributor` which adds Pod information to
Spring Boot's `/info` Acturator endpoint.
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/other-resources.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[other-resources]]
= Other Resources
:page-section-summary-toc: 1

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

Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/pod-health-indicator.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[pod-health-indicator]]
= Pod Health Indicator
:page-section-summary-toc: 1

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.
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].
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/property-source-config.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[kubernetes-propertysource-implementations]]
= Kubernetes PropertySource implementations
:page-section-summary-toc: 1

The most common approach to configuring your Spring Boot application is to create an `application.properties` or `application.yaml` or
an `application-profile.properties` or `application-profile.yaml` file that contains key-value pairs that provide customization values to your
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[order_of_configMaps_and_secrets]]
= Order of ConfigMaps and Secrets
:page-section-summary-toc: 1

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.

1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/service-registry.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[service-registry-implementation]]
= Service Registry Implementation
:page-section-summary-toc: 1

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

0 comments on commit 2e4d529

Please sign in to comment.