From 791134c53cfbed6092245dceb7f21678f1820679 Mon Sep 17 00:00:00 2001 From: Jay Bryant Date: Wed, 2 Jun 2021 12:56:18 -0500 Subject: [PATCH] Link the HTML to the PDF docs and vice-versa See gh-27015 --- src/docs/asciidoc/index.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/docs/asciidoc/index.adoc b/src/docs/asciidoc/index.adoc index 5b6883c31ab5..586a4d412722 100644 --- a/src/docs/asciidoc/index.adoc +++ b/src/docs/asciidoc/index.adoc @@ -6,6 +6,14 @@ independent of release cadence, are maintained externally on the project's https://github.com/spring-projects/spring-framework/wiki[*Github Wiki*]. **** +ifdef::backend-html5[] +NOTE: This documentation is also available as {doc-root}/spring-framework/docs/{spring-version}/reference/pdf/index.pdf[PDF]. +endif::[] + +ifdef::backend-pdf[] +NOTE: This documentation is also available as {doc-root}/spring-framework/docs/{spring-version}/reference/html/index.html[HTML]. +endif::[] + [horizontal] <> :: history, design philosophy, feedback, getting started.