From 6a42d5c17ba83c0e3fb8fb52ca0eb2aa570ed242 Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Thu, 11 May 2023 15:19:46 -0500 Subject: [PATCH 1/2] Update link to 6.0 migration guide Closes gh-12675 --- docs/modules/ROOT/pages/migration/index.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/migration/index.adoc b/docs/modules/ROOT/pages/migration/index.adoc index 061d60823e..e0cc526ca5 100644 --- a/docs/modules/ROOT/pages/migration/index.adoc +++ b/docs/modules/ROOT/pages/migration/index.adoc @@ -1,10 +1,11 @@ [[migration]] = Preparing for 6.0 +:primary-site-url: https://docs.spring.io/spring-security/reference The Spring Security team has prepared the 5.8 release to simplify upgrading to Spring Security 6.0. Use 5.8 and the steps below to minimize changes when ifdef::spring-security-version[] -xref:6.0.2@migration/index.adoc[updating to 6.0]. +{primary-site-url}/6.0/migration/index.html[updating to 6.0]. endif::[] ifndef::spring-security-version[] updating to 6.0. From 72d86f1cbc5d05b36bacf40e1e7901caa72b398a Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Thu, 11 May 2023 15:20:01 -0500 Subject: [PATCH 2/2] Update links to 5.8 migration guide Closes gh-13156 --- docs/modules/ROOT/pages/migration/index.adoc | 3 ++- docs/modules/ROOT/pages/migration/servlet/exploits.adoc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/migration/index.adoc b/docs/modules/ROOT/pages/migration/index.adoc index 675bfafe94..981887b0f2 100644 --- a/docs/modules/ROOT/pages/migration/index.adoc +++ b/docs/modules/ROOT/pages/migration/index.adoc @@ -1,10 +1,11 @@ [[migration]] = Migrating to 6.0 +:primary-site-url: https://docs.spring.io/spring-security/reference The Spring Security team has prepared the 5.8 release to simplify upgrading to Spring Security 6.0. Use 5.8 and ifdef::spring-security-version[] -xref:5.8.2@migration/index.adoc[its preparation steps] +{primary-site-url}/5.8/migration/index.html[its preparation steps] endif::[] ifndef::spring-security-version[] its preparation steps diff --git a/docs/modules/ROOT/pages/migration/servlet/exploits.adoc b/docs/modules/ROOT/pages/migration/servlet/exploits.adoc index e27fd58719..47f1878e11 100644 --- a/docs/modules/ROOT/pages/migration/servlet/exploits.adoc +++ b/docs/modules/ROOT/pages/migration/servlet/exploits.adoc @@ -1,8 +1,9 @@ = Exploit Protection Migrations +:primary-site-url: https://docs.spring.io/spring-security/reference The 5.8 migration guide contains several steps for ifdef::spring-security-version[] -xref:5.8.2@migration/servlet/exploits.adoc[exploit protection migrations] when updating to 6.0. +{primary-site-url}/5.8/migration/servlet/exploits.html[exploit protection migrations] when updating to 6.0. endif::[] ifndef::spring-security-version[] exploit protection migrations when updating to 6.0.