Skip to content

Commit a7de44a

Browse files
committed
Merge pull request #27737 from Buzzardo
* gh-27737: Polish "Only link to other formats from each format of the ref docs" Only link to other formats from each format of the ref docs Closes gh-27737
2 parents 47bbae8 + e299175 commit a7de44a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/index.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ include::authors.adoc[]
44
v{spring-boot-version}
55
include::attributes.adoc[]
66

7-
This document is also available as {spring-boot-docs}/html/[Multi-page HTML], {spring-boot-docs}/htmlsingle/[Single page HTML] and {spring-boot-docs}/pdf/spring-boot-reference.pdf[PDF].
8-
7+
This document is also available as {spring-boot-docs}/htmlsingle/[a single HTML page] and as {spring-boot-docs}/pdf/spring-boot-reference.pdf[a PDF].
98

109
The reference documentation consists of the following sections:
1110

spring-boot-project/spring-boot-docs/src/docs/asciidoc/index.singleadoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ include::authors.adoc[]
44
v{spring-boot-version}
55
include::attributes.adoc[]
66

7-
This document is also available as {spring-boot-docs}/html/[Multi-page HTML], {spring-boot-docs}/htmlsingle/[Single page HTML] and {spring-boot-docs}/pdf/spring-boot-reference.pdf[PDF].
8-
7+
ifdef::backend-spring-html[]
8+
This document is also available as {spring-boot-docs}/html/[multiple HTML pages] and as {spring-boot-docs}/pdf/spring-boot-reference.pdf[a PDF].
9+
endif::[]
10+
ifdef::backend-spring-pdf[]
11+
This document is also available as {spring-boot-docs}/html/[multiple HTML pages] and as {spring-boot-docs}/htmlsingle/[a single HTML page].
12+
endif::[]
913

1014
include::legal.adoc[leveloffset=+1]
1115

0 commit comments

Comments
 (0)