Browse Source

Add Link to 5.8 Preparation Guide

Closes gh-12093
Josh Cummings 2 years ago
parent
commit
f29d1da0a5
1 changed files with 8 additions and 1 deletions
  1. 8 1
      docs/modules/ROOT/pages/migration.adoc

+ 8 - 1
docs/modules/ROOT/pages/migration.adoc

@@ -2,7 +2,14 @@
 = Migrating to 6.0
 = Migrating to 6.0
 
 
 The Spring Security team has prepared the 5.8 release to simplify upgrading to Spring Security 6.0.
 The Spring Security team has prepared the 5.8 release to simplify upgrading to Spring Security 6.0.
-Use 5.8 and its preparation steps to simplify updating to 6.0
+Use 5.8 and
+ifdef::spring-security-version[]
+xref:5.8.0@migration.adoc[its preparation steps]
+endif::[]
+ifndef::spring-security-version[]
+its preparation steps
+endif::[]
+to simplify updating to 6.0
 
 
 After updating to 5.8, follow this guide to perform any needed migration steps.
 After updating to 5.8, follow this guide to perform any needed migration steps.