浏览代码

Add Link to 5.8 Preparation Guide

Closes gh-12093
Josh Cummings 2 年之前
父节点
当前提交
f29d1da0a5
共有 1 个文件被更改,包括 8 次插入1 次删除
  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
 
 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.