Skip to content

Commit 5e58f4a

Browse files
committed
Fix unresolved directives in generated documentation
Closes gh-16452
1 parent a5f29bb commit 5e58f4a

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

spring-boot-project/spring-boot-docs/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,7 @@
14191419
<spring-docs-version>${spring.version}</spring-docs-version>
14201420
<spring-boot-version>${revision}</spring-boot-version>
14211421
<sources-root>${project.basedir}/src/</sources-root>
1422+
<generated-resources-root>${project.basedir}/target/generated-resources</generated-resources-root>
14221423
</attributes>
14231424
</configuration>
14241425
<executions>

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix/application-properties.adoc

+15-15
Original file line numberDiff line numberDiff line change
@@ -17,60 +17,60 @@ should not consider this an exhaustive list. Also, you can define your own prope
1717

1818
=== Core properties
1919

20-
include::../../../target/generated-resources/config-docs/core.adoc[]
20+
include::{generated-resources-root}/config-docs/core.adoc[]
2121

2222
=== Cache properties
2323

24-
include::../../../target/generated-resources/config-docs/cache.adoc[]
24+
include::{generated-resources-root}/config-docs/cache.adoc[]
2525

2626
=== Mail properties
2727

28-
include::../../../target/generated-resources/config-docs/mail.adoc[]
28+
include::{generated-resources-root}/config-docs/mail.adoc[]
2929

3030
=== JSON properties
3131

32-
include::../../../target/generated-resources/config-docs/json.adoc[]
32+
include::{generated-resources-root}/config-docs/json.adoc[]
3333

3434
=== Data properties
3535

36-
include::../../../target/generated-resources/config-docs/data.adoc[]
36+
include::{generated-resources-root}/config-docs/data.adoc[]
3737

3838
=== Transaction properties
3939

40-
include::../../../target/generated-resources/config-docs/transaction.adoc[]
40+
include::{generated-resources-root}/config-docs/transaction.adoc[]
4141

4242
=== Data migration properties
4343

44-
include::../../../target/generated-resources/config-docs/data-migration.adoc[]
44+
include::{generated-resources-root}/config-docs/data-migration.adoc[]
4545

4646
=== Integration properties
4747

48-
include::../../../target/generated-resources/config-docs/integration.adoc[]
48+
include::{generated-resources-root}/config-docs/integration.adoc[]
4949

5050
=== Web properties
5151

52-
include::../../../target/generated-resources/config-docs/web.adoc[]
52+
include::{generated-resources-root}/config-docs/web.adoc[]
5353

5454
=== Templating properties
5555

56-
include::../../../target/generated-resources/config-docs/templating.adoc[]
56+
include::{generated-resources-root}/config-docs/templating.adoc[]
5757

5858
=== Server properties
5959

60-
include::../../../target/generated-resources/config-docs/server.adoc[]
60+
include::{generated-resources-root}/config-docs/server.adoc[]
6161

6262
=== Security properties
6363

64-
include::../../../target/generated-resources/config-docs/security.adoc[]
64+
include::{generated-resources-root}/config-docs/security.adoc[]
6565

6666
=== Actuator properties
6767

68-
include::../../../target/generated-resources/config-docs/actuator.adoc[]
68+
include::{generated-resources-root}/config-docs/actuator.adoc[]
6969

7070
=== Devtools properties
7171

72-
include::../../../target/generated-resources/config-docs/devtools.adoc[]
72+
include::{generated-resources-root}/config-docs/devtools.adoc[]
7373

7474
=== Testing properties
7575

76-
include::../../../target/generated-resources/config-docs/testing.adoc[]
76+
include::{generated-resources-root}/config-docs/testing.adoc[]

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix/auto-configuration-classes.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ the `conditions` endpoint).
1313
=== From the "`spring-boot-autoconfigure`" module
1414
The following auto-configuration classes are from the `spring-boot-autoconfigure` module:
1515

16-
include::../../../target/generated-resources/auto-configuration-classes-spring-boot-autoconfigure.adoc[]
16+
include::{generated-resources-root}/auto-configuration-classes-spring-boot-autoconfigure.adoc[]
1717

1818

1919

2020
[[auto-configuration-classes-from-actuator]]
2121
=== From the "`spring-boot-actuator-autoconfigure`" module
2222
The following auto-configuration classes are from the `spring-boot-actuator-autoconfigure` module:
2323

24-
include::../../../target/generated-resources/auto-configuration-classes-spring-boot-actuator-autoconfigure.adoc[]
24+
include::{generated-resources-root}/auto-configuration-classes-spring-boot-actuator-autoconfigure.adoc[]

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix/dependency-versions.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ by Spring Boot in its CLI (Command Line Interface), Maven dependency management,
66
Gradle plugin. When you declare a dependency on one of these artifacts without declaring
77
a version, the version listed in the table is used.
88

9-
include::../../../target/generated-resources/effective-pom.adoc[]
9+
include::{generated-resources-root}/effective-pom.adoc[]

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix/test-auto-configuration.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
The following table lists the various `@…Test` annotations that can be used to test
66
slices of your application and the auto-configuration that they import by default:
77

8-
include::../../../target/generated-resources/test-slice-auto-configuration.adoc[]
8+
include::{generated-resources-root}/test-slice-auto-configuration.adoc[]

spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -304,19 +304,19 @@ The following application starters are provided by Spring Boot under the
304304
`org.springframework.boot` group:
305305

306306
.Spring Boot application starters
307-
include::../../../target/generated-resources/application-starters.adoc[]
307+
include::{generated-resources-root}/application-starters.adoc[]
308308

309309
In addition to the application starters, the following starters can be used to add
310310
_<<production-ready-features.adoc#production-ready, production ready>>_ features:
311311

312312
.Spring Boot production starters
313-
include::../../../target/generated-resources/production-starters.adoc[]
313+
include::{generated-resources-root}/production-starters.adoc[]
314314

315315
Finally, Spring Boot also includes the following starters that can be used if you want to
316316
exclude or swap specific technical facets:
317317

318318
.Spring Boot technical starters
319-
include::../../../target/generated-resources/technical-starters.adoc[]
319+
include::{generated-resources-root}/technical-starters.adoc[]
320320

321321
TIP: For a list of additional community contributed starters, see the
322322
{github-master-code}/spring-boot-project/spring-boot-starters/README.adoc[README file] in

0 commit comments

Comments
 (0)