From 4af54d09a669845fe3534c2a11af70bdbf17ced2 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Sat, 2 Sep 2023 00:44:22 +0200 Subject: [PATCH] GH-289 - Project version is not correctly inserted into the documentation. Original pull request: GH-290. --- pom.xml | 1 - src/docs/asciidoc/80-observability.adoc | 6 +++--- src/docs/asciidoc/index.adoc | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 9f16505e..c0f79e42 100644 --- a/pom.xml +++ b/pom.xml @@ -336,7 +336,6 @@ limitations under the License. font false images - ${project.version} ${project.name} ${project.version} ${spring.version} diff --git a/src/docs/asciidoc/80-observability.adoc b/src/docs/asciidoc/80-observability.adoc index e3a5fbda..f454d17d 100644 --- a/src/docs/asciidoc/80-observability.adoc +++ b/src/docs/asciidoc/80-observability.adoc @@ -5,7 +5,7 @@ Spring Modulith provides support to expose architectural information about your As a production-ready application is likely to require both, the most convenient way to activate those features is to use the Spring Modulith Insight starter as follows: .Using the Spring Modulith Insight starter -[source, xml] +[source, xml,subs="+attributes"] ---- org.springframework.modulith @@ -26,7 +26,7 @@ The application module structure can be exposed as Spring Boot actuator. To enable the actuator, add the `spring-modulith-actuator` dependency to the project: .Using the Spring Modulith actuator support -[source, xml] +[source, xml,subs="+attributes"] ---- org.springframework.modulith @@ -119,7 +119,7 @@ The interaction between application modules can be intercepted to create Microme To activate the instrumentation add the following runtime dependency to your project: .Using the Spring Modulith observability support -[source, xml] +[source, xml,subs="+attributes"] ---- org.springframework.modulith diff --git a/src/docs/asciidoc/index.adoc b/src/docs/asciidoc/index.adoc index fb891a4d..e281c3b9 100644 --- a/src/docs/asciidoc/index.adoc +++ b/src/docs/asciidoc/index.adoc @@ -1,6 +1,6 @@ = Spring Modulith -- Reference documentation Oliver Drotbohm -:revnumber: {version} +:revnumber: {projectVersion} :revdate: {localdate} :toc: left :iconfont-fontawesome: